Closed jfoster17 closed 2 years ago
@mariobuikhuizen maybe you want to take a look at this next week?
I can't reproduce the first part of the issue
Thanks for looking into this. For the first part of the issue, I have discovered that the problem occurs because I had an (older?) settings.cfg file in ~/.glue that specified data_color="0.35"
. It seems that modern glue saves this as data_color = "#595959"
and this does not produce the problem. Similar in spirit to #105 ...
@jfoster17 - could you re-open this if some parts of this issue still occur with the latest development version of glue-jupyter?
Describe the bug The color widget (i.e. the box next to the eye icon that controls the color of the layer) in the layer options widget has two, potentially related, state bugs.
app.scatter2d(data='dataset1',x='x',y='y',color='red')
works just fine).To Reproduce
Expected behavior The color widget should start in sync with the viewer.layers[0].state.color Dragging in the color picker should not break things.
Video
https://user-images.githubusercontent.com/3639698/169074229-d7e86477-f43a-4713-8dec-0f4a3513c759.mov
Details:
❯ jupyter --version Selected Jupyter core packages... IPython : 8.2.0 ipykernel : 6.12.1 ipywidgets : 7.7.0 jupyter_client : 7.2.2 jupyter_core : 4.9.2 jupyter_server : 1.16.0 jupyterlab : 3.3.3 nbclient : 0.5.13 nbconvert : 6.4.5 nbformat : 5.3.0 notebook : 6.4.10 qtconsole : 5.3.0 traitlets : 5.1.1
Additional context I have shown this for the bqplot scatter viewer, but it seems to impact the matplotlib viewers and the other bqplot viewers as well. I haven't been able to figure out how to get the state of this color-picker directly to write a test for this.