def init_plotting(w,h):
sns.set_style('whitegrid')
plt.rcParams['figure.figsize'] = (w,h)
plt.rcParams['font.size'] = 13
plt.rcParams['font.family'] = 'OfficinaSanITCBoo'
# plt.rcParams['font.weight'] = 'bold'
plt.rcParams['axes.labelsize'] = 1.1*plt.rcParams['font.size']
plt.rcParams['axes.titlesize'] = 1.1*plt.rcParams['font.size']
plt.rcParams['legend.fontsize'] = plt.rcParams['font.size']
plt.rcParams['xtick.labelsize'] = plt.rcParams['font.size']
plt.rcParams['ytick.labelsize'] = plt.rcParams['font.size']
# snapshots = pickle.load(open('results/hist-fit-fp/snapshots-fit-hist.pkl', 'rb'))
# snapshots = pickle.load(open('results/hist-tocs/snapshots-tocs-depth-3-seed-0.pkl', 'rb'))
评论列表
文章目录