import matplotlib import json s = json.load( open("538.json") ) matplotlib.rcParams.update(s) # plots now use FiveThirtyEight styles