Flint: Add API to show/hide side histograms
After a custom plot refactoring !3780 (merged) plot_image
and plot_image_with_histogram
displays the same widget.
- The second is now an alias for
plot_image
- Now
plot_image
always display histogram. -
plot_image_with_histogram
is deprecated
So what it is not possible anymore to display an image without the side histograms.
If https://github.com/silx-kit/silx/pull/3488 is merged, we can use the same widget for both.
And provide getter/setter and constructor argument to show or hide the side histograms.
Anyway better to enforce always the same silx widget. And wait for the update of silx.
Edited by Valentin Valls