summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2013-04-21 15:21:50 +0300
committerPauli Virtanen <pav@iki.fi>2013-04-21 15:21:50 +0300
commit2f0972f76ac73f09774339333c7a1abda51d883a (patch)
treebcd86f376fb6e58f6cc34f5d8318dbe91ced8375 /conf.py
parent0905c4ed48220c82420fc2185375b4431e43e836 (diff)
downloadscipy-sphinx-theme-2f0972f76ac73f09774339333c7a1abda51d883a.tar.gz
Adjust plot font sizes
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/conf.py b/conf.py
index b85c3ec..aa5d7d0 100644
--- a/conf.py
+++ b/conf.py
@@ -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,