Publication quality figures start here
QA | |
Package | |
Meta |
import matplotlib.pyplot as plt
import figure_scale as fs
figsize = fs.FigureScale(4.0, 2.0, units="in")
plt.rcParams.update({'figure.figsize' : figsize})
fig, ax = plt.subplots(figsize=figsize)
with figsize():
fig, ax = plt.subplots()
@figsize()
def my_plot():
...
pip install figure-scale
© 2023 Felipe N. Schuch. All content is under MIT License.