ImageItem: implement persistent default autolevels#2883
ImageItem: implement persistent default autolevels#2883j9ac9k merged 1 commit intopyqtgraph:masterfrom
Conversation
|
If I were to implement
|
|
Perhaps |
73c1b56 to
67b114f
Compare
|
I have reworked things to be more consistent with the API of If the user wants to instantiate
|
67b114f to
fe0cea6
Compare
fe0cea6 to
e9e8237
Compare
|
Thanks @pijyoi for this PR, I'll try and not take 2 years to merge your PRs in the future 😆 |
Allow user to set whether to perform auto levels by default instead of having to specify it on each data change.
The original behavior is that if unspecified,
autoLevels==True. i.e. the user needs to specifyautoLevels=Falseexplicitly on each data change.The example from #2830 (comment) becomes
Oh, a plug for #2779: if you are running off master, right-clicking on the colorbar now exposes all the colormaps bundled with pyqtgraph.