Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Created April 12, 2013 13:26
Show Gist options
  • Save lightscalar/5371981 to your computer and use it in GitHub Desktop.
Save lightscalar/5371981 to your computer and use it in GitHub Desktop.
How to make things look nice in matplotlib.

Changing Fonts, etc.

To change the fonts on the plots to something nice,

    # Set the fonts to be something nice.
    font = {'family': 'helvetica', 'weight': 'light', 'size': 18}
    matplotlib.rc('font', **font)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment