Nice configuration for paper-quality plots using matplotlib.
Carlos Garcia 8533bd4192 Default font set to cmr10 | 6 yıl önce | |
---|---|---|
README.md | 7 yıl önce | |
paper_plots.py | 6 yıl önce |
Nice configuration for paper-quality plots using matplotlib.
The python file includes two functions. Before creating a plot, call pre_paper_plot()
and after the plot is created, but before showing it, call post_paper_plot()
.
True
, change the plot to be paper friendly. False
disables the paper-friendly plotting.True
(default), change the plot to be paper friendly. False
disables the changes.True
to make the plot friendly for black and white printing. Adds different line styles to line-plots.True
, do not display the top and right plot bounding lines (known as splines)