niivue / ipyniivue

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

Widget does not display #16

Closed AnthonyAndroulakis closed 1 year ago

AnthonyAndroulakis commented 1 year ago

Describe the bug When running the example code, the canvas is blank.

To Reproduce Steps to reproduce the behavior:

  1. follow the installation instructions here: https://github.com/niivue/ipyniivue#installation
  2. run the example notebook.

Expected behavior Normal NiiVue display: The NiiVue instance should attach to the canvas that is created in the cell.

Screenshots

screenshot

A blank canvas is created.

AnthonyAndroulakis commented 1 year ago

This commit https://github.com/niivue/ipyniivue/commit/30684fcb12fa034531c64770572165e45aa9a23b should fix this issue. However, I'm going to wait until the widget has been tested on a few other computers before I close this issue.

AnthonyAndroulakis commented 1 year ago

fixed