Thank you Luke! I'm sorry I missed that simple hide command On Tue, Jul 12, 2016 at 3:08 AM, Luke Campagnola <[email protected]> wrote:
> I would love it if we could move away from using lookup tables and toward > a more general colormapping model. The ColorMap class was intended to be a > start in this direction, but I think this would take a lot more work to > sort out. > > > On Mon, Jul 11, 2016 at 4:23 PM, Federico Barabas <[email protected]> > wrote: > >> >> One question remains: is there an easy way of hiding all the ticks next >> to the gradient? I don't need them and they don't look good because the >> colormap has a tick for each position between 0 and 255. I tried >> subclassing TickSliderItem but in the end I failed. >> > > I suppose the easiest way is just to hide the ticks after you set the > gradient, and maybe adjust the width of the gradient editor, like: > > for tick in histogramLutItem.gradient.ticks: > tick.hide() > histogramLutItem.gradient.setFixedWidth(...) > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pyqtgraph" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pyqtgraph/gEjC08Vb8NQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyqtgraph/CACZXET8sUPK1OgprTcDC%2BS_Fhxd%2B7TRu7%3DUYt2oEH9SRaseeCA%40mail.gmail.com > <https://groups.google.com/d/msgid/pyqtgraph/CACZXET8sUPK1OgprTcDC%2BS_Fhxd%2B7TRu7%3DUYt2oEH9SRaseeCA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAFGKJ911-S_%3DMzpe1Zq22YJo0v1MXeG%2Bz7cwKmu%2BnPThmvocOA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
