Skip to content

Instantly share code, notes, and snippets.

@CamDavidsonPilon
Last active August 29, 2015 14:03
Show Gist options
  • Save CamDavidsonPilon/67064413b976ca35d07c to your computer and use it in GitHub Desktop.
Save CamDavidsonPilon/67064413b976ca35d07c to your computer and use it in GitHub Desktop.
import matplotlib
import json
# 538.json is from https://gist.github.com/CamDavidsonPilon/5238b6499b14604367ac
s = json.load( open("538.json") )
matplotlib.rcParams.update(s)
# plots now use FiveThirtyEight styles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment