Skip to content

Commit

Permalink
Update plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-xyz authored Oct 7, 2020
1 parent a7ac61e commit e43b7c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nutil/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ def paperStyle(font_size=8, use_seaborn=True):
sns.set_style('white')
sns.set_style('ticks')

plt.rcParams['figure.figsize'] = [3.0, 2.0]
plt.rcParams['axes.labelsize'] = font_size
plt.rcParams['xtick.labelsize'] = font_size
plt.rcParams['ytick.labelsize'] = font_size
plt.rcParams['legend.fontsize'] = font_size
plt.rcParams['title.fontsize'] = font_size
plt.rcParams['figure.titlesize'] = font_size
plt.rcParams['font.family'] = ['sans-serif']
plt.rcParams['font.sans-serif'] = ['Arial']
plt.rcParams['svg.fonttype'] = 'none' # Text is not rendered
Expand Down

0 comments on commit e43b7c3

Please sign in to comment.