niivue / ipyniivue

A WebGL-powered Jupyter Widget for Niivue based on anywidget
BSD 2-Clause "Simplified" License
25 stars 8 forks source link

2 columns of turquoise showing around widget #11

Closed AnthonyAndroulakis closed 1 year ago

AnthonyAndroulakis commented 1 year ago

Describe the bug When a Niivue widget is created, 2 columns of turquoise can be seen on the left and right sides.

To Reproduce Steps to reproduce the behavior:

  1. Install ipyniivue using the installation steps. If needed, install yarn using npm install -g yarn
  2. Open jupyter lab using jupyter lab
  3. Open the examples -> introduction.ipynb file
  4. Run the first two code sections.
  5. See the strips of turquoise on the left and right sides of the Niivue widget.

Expected behavior No turquoise should be visible unless the background color is set to turquoise. Since the default background color is black, the background should just consist of black.

Screenshots Current display. The arrows at the bottom point to the thin strips of turquoise.

Screen Shot 2022-10-18 at 11 14 33 AM
hanayik commented 1 year ago

@AnthonyAndroulakis , is that just the "focus" ring around the canvas since the canvas has focus when it is attached to a niivue instance?

AnthonyAndroulakis commented 1 year ago

hm, I didn't know about canvas focus rings. It could be case. This is probably not a bug then, right?