Commit b4b3ae56 authored by Damien Octeau's avatar Damien Octeau

Adapted some matplotlib parameters.

parent 03238db9
...@@ -26,10 +26,12 @@ import locale ...@@ -26,10 +26,12 @@ import locale
import logging import logging
import os.path import os.path
import matplotlib
matplotlib.use('Agg')
from matplotlib import pyplot from matplotlib import pyplot
from matplotlib import rcParams from matplotlib import rcParams
import bloscpack as bp import bloscpack as bp
import matplotlib
import numpy as np import numpy as np
from linking.write_results cimport Row from linking.write_results cimport Row
...@@ -43,7 +45,7 @@ rcParams['ytick.labelsize'] = FONT_SIZE ...@@ -43,7 +45,7 @@ rcParams['ytick.labelsize'] = FONT_SIZE
rcParams['legend.fontsize'] = FONT_SIZE rcParams['legend.fontsize'] = FONT_SIZE
rcParams['font.family'] = 'serif' rcParams['font.family'] = 'serif'
# IF UNAME_SYSNAME == "Darwin": # IF UNAME_SYSNAME == "Darwin":
rcParams['font.serif'] = ['Times New Roman'] rcParams['font.family'] = 'Times New Roman'
# ELSE: # ELSE:
# path = '/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf' # path = '/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf'
# rcParams['font.serif'] = ['Times_New_Roman'] # rcParams['font.serif'] = ['Times_New_Roman']
......
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