Skip to content

Instantly share code, notes, and snippets.

@quocnb
Created January 25, 2018 10:03
Show Gist options
  • Save quocnb/ca677f6cfa7e6d25af61ef63cbb48824 to your computer and use it in GitHub Desktop.
Save quocnb/ca677f6cfa7e6d25af61ef63cbb48824 to your computer and use it in GitHub Desktop.

Nice pyplot show in pycharm

Create configure python file

ipython profile create
ipython profile locate

Open Configure file

open ipython_kernel_config.py

Add line

# Subset of matplotlib rcParams that should be different for the inline backend.
c.InlineBackend.rc = {'font.size': 10, 'figure.figsize': (12.0, 8.0), 'figure.facecolor': 'white', 'savefig.dpi': 72, 'figure.subplot.bottom': 0.125, 'figure.edgecolor': 'white'}

Save and relaunch Pycharm

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