You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to get multiple visualizations in the same notebook, for example as one would do with matplotlib where one has multiple plots.
Is this expected to work? In the simple examples that I have here, it seems like creating a new vispy canvas/visualization affects the previous one too.
I've taken one of the vispy examples and just split it into two different visualizations:
Until i run the third cell, the second cell works fine.
Once I run the third cell, the second cell is also modified. Video attached:
Screencast.from.2024-08-09.10-01-36.mp4
I tried it with vispy outside of a jupyter notebook, and it does work. I get two windows with the expected outputs and they're independent of each other. Here's that script:
This is supposed to work. For some reason the first canvas now takes the content of the second. Not sure whether this is related to jupyter_rfb or vispy. Will have to look into this.
Hi folks,
I was trying to get multiple visualizations in the same notebook, for example as one would do with matplotlib where one has multiple plots.
Is this expected to work? In the simple examples that I have here, it seems like creating a new vispy canvas/visualization affects the previous one too.
I've taken one of the vispy examples and just split it into two different visualizations:
and
Until i run the third cell, the second cell works fine.
Once I run the third cell, the second cell is also modified. Video attached:
Screencast.from.2024-08-09.10-01-36.mp4
I tried it with vispy outside of a jupyter notebook, and it does work. I get two windows with the expected outputs and they're independent of each other. Here's that script:
It's the same as the notebook, but uses
canvas.show()
and then has theapp.run()
call at the end.The text was updated successfully, but these errors were encountered: