Closed bvnayak closed 7 years ago
I'm starting to address this issue. I like ginga's Histogram.py
but not sure about embedding the entire plugin into the the main widget and then maintaining the cuts for the different channels. I'm going to try following this example: https://github.com/sir-wiggles/pyStocker/blob/master/utils.py#L174 and using these modules from matplotlib: http://matplotlib.org/api/backend_qt4agg_api.html, http://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.axvline.html, http://matplotlib.org/users/event_handling.html
Ginga has a very good widget for
Histogram.py
which can be used to add histogram support tool in our image viewer or we can make our own by taking its reference. I have modified some of the histogram tool utilities like line color, grid off, plot style etc. in the conda env 'ginga27' and 'ginga34' on my PC.