tueplots.figsizes module#
Figure size presets (tueplots.figsizes
).
Provides standard figure dimensions for publications, ensuring proper scaling in papers.
Examples
>>> import matplotlib.pyplot as plt
>>> from tueplots import figsizes, fontsizes
>>>
>>> # Select a style bundle: fontsize + figsize
>>> style = figsizes.aistats2025_half() | fontsizes.aistats2025()
>>>
>>> # Apply the style to matplotlib
>>> plt.rcParams.update(style)
>>>
>>> # Create a plot
>>> fig, ax = plt.subplots()
>>> ax.plot([0, 1, 2], [2, 1, 3])
>>> ax.set_xlabel("$x$ label")
>>> ax.set_ylabel("$y$ label")
>>> plt.show()
(Source code
, png
, hires.png
, pdf
)

- tueplots.figsizes.aaai2024_full(*, nrows=1, ncols=1, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015, rel_width=1.0)[source]#
Double-column (full-width) figures for AAAI 2024.
- tueplots.figsizes.aaai2024_half(*, nrows=1, ncols=1, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015, rel_width=1.0)[source]#
Double-column (half-width) figures for AAAI 2024.
- tueplots.figsizes.aistats2022_full(**kwargs)[source]#
Single-column (full-width) figures for AISTATS 2022.
- tueplots.figsizes.aistats2022_half(**kwargs)[source]#
Double-column (half-width) figures for AISTATS 2022.
- tueplots.figsizes.aistats2023_full(**kwargs)[source]#
Single-column (full-width) figures for AISTATS 2023.
- tueplots.figsizes.aistats2023_half(**kwargs)[source]#
Double-column (half-width) figures for AISTATS 2023.
- tueplots.figsizes.aistats2025_full(**kwargs)[source]#
Single-column (full-width) figures for AISTATS 2025.
- tueplots.figsizes.aistats2025_half(**kwargs)[source]#
Double-column (half-width) figures for AISTATS 2025.
- tueplots.figsizes.beamer_169(*, rel_width=0.9, rel_height=0.6, constrained_layout=True, tight_layout=False, pad_inches=0.015)[source]#
Beamer figure size for aspectratio=169.
- tueplots.figsizes.cvpr2022_full(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Single-column (full-width) figures for CVPR 2022.
- tueplots.figsizes.cvpr2022_half(*, nrows=1, ncols=1, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Double-column (half-width) figures for CVPR 2022.
- tueplots.figsizes.cvpr2024_full(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Single-column (full-width) figures for CVPR 2024.
- tueplots.figsizes.cvpr2024_half(*, nrows=1, ncols=1, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Double-column (half-width) figures for CVPR 2024.
- tueplots.figsizes.eccv2024(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
ECCV figure size.
Source: https://eccv2024.ecva.net/Conferences/2024/SubmissionPolicies
- tueplots.figsizes.iclr2023(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
ICLR 2023 figure size.
- tueplots.figsizes.iclr2024(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
ICLR 2024 figure size.
- tueplots.figsizes.icml2022_full(**kwargs)[source]#
Single-column (full-width) figures for ICML 2022.
- tueplots.figsizes.icml2022_half(**kwargs)[source]#
Double-column (half-width) figures for ICML 2022.
- tueplots.figsizes.icml2024_full(**kwargs)[source]#
Single-column (full-width) figures for ICML 2024.
- tueplots.figsizes.icml2024_half(**kwargs)[source]#
Double-column (half-width) figures for ICML 2024.
- tueplots.figsizes.jmlr2001(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
JMLR figure size.
Source: https://www.jmlr.org/format/format.html
The present format is for US letter format.
- tueplots.figsizes.neurips2021(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Neurips 2021 figure size.
- tueplots.figsizes.neurips2022(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Neurips 2022 figure size.
- tueplots.figsizes.neurips2023(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Neurips 2023 figure size.
- tueplots.figsizes.neurips2024(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Neurips 2024 figure size.
- tueplots.figsizes.probnum2025_full(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Full-page (full-width) figures for ProbNum 2025.
- tueplots.figsizes.probnum2025_half(*, nrows=1, ncols=1, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
Single-column (half-width) figures for ProbNum 2025.
- tueplots.figsizes.tmlr2023(*, rel_width=1.0, nrows=1, ncols=2, constrained_layout=True, tight_layout=False, height_to_width_ratio=0.6180339887498949, pad_inches=0.015)[source]#
TMLR figure size.