Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instruction to restart jupyterlab #279

Closed
wants to merge 1 commit into from

Conversation

orena1
Copy link

@orena1 orena1 commented Nov 23, 2020

All of those are because they did not restart JupyterLab
#275
#148
#66
#201

Happen to me also, might even make people go back to notebook

All of those are because they did not restart JupyterLab
matplotlib#275
matplotlib#148
matplotlib#66
matplotlib#201

Happened to me also, It might make people run back to  notebook
@jasongrout
Copy link
Contributor

After rebuilding, you should just need to refresh your browser. Restarting forces a refresh, so that works too.

@orena1
Copy link
Author

orena1 commented Nov 23, 2020

I tried refreshing a couple of times, it did not work. I still got:
Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous

@jasongrout
Copy link
Contributor

I tried refreshing a couple of times, it did not work. I still got:

But restarting did work? That output indicates @jupyter-widgets/jupyterlab-manager is not installed/built.

@orena1
Copy link
Author

orena1 commented Nov 23, 2020

Yes, restart did work.
It is not that it completely did not work completely before restart. If I would do display(fig) it worked, but just not automatically for each figure that I created.
For example something like this:

# Testing matplotlib interactions with a simple plot
figure()
imshow(mov0[50])
figure()
imshow(mov1[50])
figure()
imshow(mov2[50])

did not work before I restarted.

@jasongrout
Copy link
Contributor

Ah, I'm also presuming that you restarted your kernel after installing the python package. A restart would also force that.

@orena1
Copy link
Author

orena1 commented Nov 23, 2020

I tried both kernel restart and browser refresh and it did not work.
Only when I restarted JupyterLab it started to work correctly.
This is also the advise that solved it for these ticket:
#275 (comment)
#148 (comment)

Thanks

@jasongrout
Copy link
Contributor

As far as I'm aware, a complete server restart shouldn't be necessary in general, thought it certainly is sufficient. Maybe there is something more tricky with how things work with ipympl. Anyways, I'm glad you are contributing back what worked for you, and it's up to the maintainers here to review/decide.

@SylvainCorlay
Copy link
Member

Should we close this ?

@martinRenou
Copy link
Member

👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants