pnkraemer / tueplots

Figure sizes, font sizes, fonts, and more configurations at minimal overhead. Fix your journal papers, conference proceedings, and other scientific publications.
https://tueplots.readthedocs.io
MIT License
675 stars 25 forks source link

Scaling of 3d plots with icml2022 format #143

Open fab-ros opened 9 months ago

fab-ros commented 9 months ago

Currently, 3d plots are not scaled correctly (e.g. labels get cut off, plot is not using whole available width in text) when using

plt.rcParams.update(bundles.icml2022(column="full", nrows=1, ncols=1, usetex=False))

or

plt.rcParams.update(bundles.icml2022(column="half", nrows=1, ncols=1, usetex=False))

formatting commands. Example code with a dummy 3d data array, the respective plots and a image of the initial problem are added. 3d_tueplots.zip

The example code was derived from: https://github.com/fab-ros/7-Year-Itch/blob/main/doc/fig/fig_dataset_intuition.py

pnkraemer commented 9 months ago

Hi! Thanks for raising that issue!

It would be easier to look into this with a minimal reproducing example posted as part of the issue instead of attaching a zip folder (e.g. based on this one). Is that possible? :)