diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-04-21 15:21:50 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-04-21 15:21:50 +0300 |
commit | 2f0972f76ac73f09774339333c7a1abda51d883a (patch) | |
tree | bcd86f376fb6e58f6cc34f5d8318dbe91ced8375 /conf.py | |
parent | 0905c4ed48220c82420fc2185375b4431e43e836 (diff) | |
download | scipy-sphinx-theme-2f0972f76ac73f09774339333c7a1abda51d883a.tar.gz |
Adjust plot font sizes
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -38,19 +38,21 @@ import scipy as sp np.random.seed(123) """ plot_include_source = True -plot_formats = [('png', 100), 'pdf'] +plot_formats = [('png', 96), 'pdf'] plot_html_show_formats = False import math phi = (math.sqrt(5) + 1)/2 +font_size = 13*72/96.0 # 13 px + plot_rcparams = { - 'font.size': 8, - 'axes.titlesize': 8, - 'axes.labelsize': 8, - 'xtick.labelsize': 8, - 'ytick.labelsize': 8, - 'legend.fontsize': 8, + 'font.size': font_size, + 'axes.titlesize': font_size, + 'axes.labelsize': font_size, + 'xtick.labelsize': font_size, + 'ytick.labelsize': font_size, + 'legend.fontsize': font_size, 'figure.figsize': (3*phi, 3), 'figure.subplot.bottom': 0.2, 'figure.subplot.left': 0.2, |