Skip to content

Instantly share code, notes, and snippets.

@ggada
Last active June 26, 2018 10:24
Show Gist options
  • Save ggada/e0aa5e427353d346d3b2e95f2acb5a3b to your computer and use it in GitHub Desktop.
Save ggada/e0aa5e427353d346d3b2e95f2acb5a3b to your computer and use it in GitHub Desktop.
IPython configuration: ~/.ipython/profile_default/ipython_config.py
c = get_config()
# Show any variable that stands on its own line
c.InteractiveShell.ast_node_interactivity = "all"
# Inline matplotlib plotting please
c.InteractiveShellApp.matplotlib = "inline"
# Retina screen, so better resolution please
c.InlineBackend.figure_format = 'retina'
@xoelop
Copy link

xoelop commented Jun 26, 2018

Good tips! I also add c.InlineBackend.rc.update({"figure.figsize": (12, 6)}) to have bigger plots than the default, too small imo.

Have a good day!

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