diff --git a/scripts/plot_helper.py b/scripts/plot_helper.py index b0a5dcf..18f3f3d 100644 --- a/scripts/plot_helper.py +++ b/scripts/plot_helper.py @@ -4,6 +4,7 @@ from matplotlib import pyplot, ticker, get_backend, rc from mpl_toolkits.mplot3d import Axes3D from itertools import cycle +from functools import wraps # interactive backends _int_backends = ['GTK3Agg', 'GTK3Cairo', 'MacOSX', 'nbAgg', @@ -37,6 +38,7 @@ 'alpha': 0.8} def set_rc(func): + @wraps(func) def wrapper(*args, **kwargs): rc('font', family='serif', size=fontsize) rc('figure', dpi=200)