Commit 92234115 authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Fix compatibility with new name for Matplotlib rcparams key

Recent versions of Matplotlib expect `font.size`, not `text.fontsize`.
This was fixed once in tiger/postproc.py, but had not been fixed in
tiger/batch_proc.py.
parent 382fec5b
Pipeline #116511 passed with stages
in 125 minutes and 49 seconds
......@@ -67,10 +67,11 @@ except ImportError: # python < 3
###########################################
fontsize = 'font.size' if mpl.version >= '1.5.0' else 'text.fontsize'
plot_params = {
'axes.labelsize': 16,
'axes.titlesize': 24,
'text.fontsize': 14,
fontsize: 14,
'title.fontsize': 18,
'legend.fontsize': 12,
'xtick.labelsize': 14,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment