From 2f0972f76ac73f09774339333c7a1abda51d883a Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 21 Apr 2013 15:21:50 +0300 Subject: Adjust plot font sizes --- conf.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'conf.py') 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, -- cgit v1.2.1