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

Viewers don't animate in jupyter notebook #584

Closed
2 tasks done
guyer opened this issue Jul 23, 2018 · 1 comment
Closed
2 tasks done

Viewers don't animate in jupyter notebook #584

guyer opened this issue Jul 23, 2018 · 1 comment
Milestone

Comments

@guyer
Copy link
Member

guyer commented Jul 23, 2018

jupyter semantics keep changing.

Presently, it is necessary to import

from IPython.display import display, clear_output

and then, instead of viewer.plot(), to invoke

clear_output(wait=True)
display(viewer)
  • document this?
  • make Viewer.plot() do this automatically?
@guyer guyer added this to the 3.2 milestone Jul 23, 2018
@GJBoth
Copy link

GJBoth commented Aug 6, 2018

This indeed does the trick, but (for me) doesn't solve the problem completely. I've add this to my notebooks to force a high resolution plot (e.g. for macbooks):

%config InlineBackend.figure_format = 'retina'

Ive actually changed it in the config file, so matplotlib always does nice high-res plots for me, but with your solution this doesn't work anymore...

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

No branches or pull requests

2 participants