lamalab-org / plotutils

3 stars 0 forks source link

add some presets for figure sizes #3

Open kjappelbaum opened 10 months ago

kjappelbaum commented 10 months ago

one/two column wide for ACS/Nature

kjappelbaum commented 10 months ago

Nature

Standard figure sizes are 89 mm wide (single column) and 183 mm wide (double column); figures can also be a column-and-a-half width where necessary (120–136 mm)

kjappelbaum commented 10 months ago
from scipy.constants import golden

ONE_COL_WIDTH_INCH = 3.25
TWO_COL_WIDTH_INCH = 7.2

ONE_COL_GOLDEN_RATIO_HEIGHT_INCH = ONE_COL_WIDTH_INCH / golden
TWO_COL_GOLDEN_RATIO_HEIGHT_INCH = TWO_COL_WIDTH_INCH / golden