Instantly share code, notes, and snippets.
For anyone stumbling across this, as of PR #3381, you can now enable 2x images by just adding the line:
%config InlineBackend.figure_format = 'retina'
to your notebook.
Sorry, something went wrong.
@fordhurley Wow, thanks :)
Is there a way to add this to a global config file somewhere?
@fordhurley awesome, thank you!
@ijoseph, add the following line to your ipython_kernel_config.py, which for me is in ~/.ipython/profile_default/
c.InlineBackend.figure_format = 'retina'
If the file does not already exist, you can generate it with all settings commented out by entering ipython profile create at the command line.
ipython profile create
6 years later, this thread is still going strong 😄
Still useful in 2020! 🎉
Would anyone know how to disable this after activating it? I don't want to delete it. I want to use it for one case and stop using it for another. I'm on jupyter notebook. c.InlineBackend.figure_format = 'retina'