<https://lh3.googleusercontent.com/-ryYTS2BrIxs/W2hDIau1o2I/AAAAAAAAAXI/mu_ToEN7mSszg3ffvGwEutAlhv-90xj1QCLcBGAs/s1600/img_dflt_color.png> central_item = pg.GraphicsLayout() main_subplot = central_item.addPlot() img = pg.ImageItem() img.setImage(self.plt_data) main_subplot.addItem(img)
histogram = pg.HistogramLUTItem() histogram.setImageItem(img) histogram.setFixedWidth(128) How do i make the colors default to one of the options in the right click menu of the GradientEditorItem instead of the black-white option. Or in other words, how do i programmatically change the colors of my image. Desired result: <https://lh3.googleusercontent.com/-uLPAUoj48ys/W2hEefC-08I/AAAAAAAAAXU/ggdmTSwexzYC0CYRGi3hEQDD4RUVIJehgCLcBGAs/s1600/color_scheme_i_want.png> -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/24cd67c6-54a7-4f03-a0bf-34f72ba062a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
