Peter Sobolewski

Results 532 comments of Peter Sobolewski
trafficstars

Just a for the record, an addendum: Using the Dark theme, the canvas is *black*, so if you turn off the bottom layer (`translucent_no_depth`) then any `minimum` blending layer will...

BTW, does `gray_r` make sense to anyone? https://github.com/napari/napari/blob/43d9b59da89b9a2b97dba3967a7b28526f9aa0ce/napari/utils/colormaps/colormap_utils.py#L39 I've never seen `reverse LUT` or `reverse colormap`. I guess in the **specific** case of B/W literal *reversing* works, 'cause you got...

> Definitely don't break gray_r please! It's generally useful for visualising data with contrast based on absorption where the features of interest are dark-on-light :) Oh I know! That's what...

@alisterburt I was able to—eventually—figure out how to dim the slider when disabled, instead of hiding it. Edit: here's the current look, when disabled Should the handle be even darker?...

Here's a different way that is more theme safe. Instead of lighten/darken I simply set the left side and the handle to the same color as the right side. If...

> Small formatting change. I also prefer to gray out instead of hiding widgets. @czaki Any idea how to change the text?

> > @Czaki Any idea how to change the text? > > the text is an instance of `SliderLabel` that inherits of `QDoubleSpinBox` https://github.com/napari/superqt/blob/e7e8dfc44c4c984126e52385015eed4942519f87/src/superqt/sliders/_labeled.py#L473 > > so set the proper...

Got it working, I modeled after the `attenuation` stuff. So there is now a QLabel for opacity in QtLayerControls (along side the slider) and then it can be disabled, which...

So if the dimming is generally liked, it's just a question of adding LUTs. Is this still a go? and if so 2 or 3, to go with the `gray_r`?...

Here's the inverted BOP example: ![tmp_IBOP](https://user-images.githubusercontent.com/76622105/188676722-e8b6d4b4-6a06-475f-8273-b4905a63c088.png) Seems a bit better by the colorblindness simulator I used.