TAKEC

大学院生の覚書

論文用のmatplotlibの設定

論文に用いる際に最低限行ったほうがいい設定項目

#描画設定
#mpl.rcParams['font.family'] = 'sans-serif'
mpl.rcParams['font.family'] = 'Times New Roman'
mpl.rcParams['mathtext.default'] = 'regular'
mpl.rcParams['xtick.top'] = 'True'
mpl.rcParams['ytick.right'] = 'True'
mpl.rcParams['xtick.direction'] = 'in'
mpl.rcParams['ytick.direction'] = 'in'
mpl.rcParams['axes.grid'] = 'True'
mpl.rcParams['axes.xmargin'] = '0' #'.05'
mpl.rcParams['axes.ymargin'] = '.05'
mpl.rcParams['savefig.facecolor'] = 'None'
mpl.rcParams['savefig.edgecolor'] = 'None'
mpl.rcParams['savefig.bbox'] = 'tight'