The use of figprint.py and journal_figure.py should be totally eliminated. The class FigurePrint is completely unnecessary. There could be a file common to all research code figure_utils.py, which would store the RC params for "research paper" format of figures and helper functions for calculating the figure size etc.
The use of
figprint.py
andjournal_figure.py
should be totally eliminated. The classFigurePrint
is completely unnecessary. There could be a file common to all research codefigure_utils.py
, which would store the RC params for "research paper" format of figures and helper functions for calculating the figure size etc.Everything can be handled by combination of
matplotlib.pyplot.rc_context
andmatplotlib.switch_backends
.