-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text at edges of plots lost #13
Comments
I can reproduce this. The cutting seems caused by the following line in the acs theme theme_args = (figure_padding=0, Change The purpose of this line is to produce a tight layout. However, it seems with colorbars, the Makie padding algo fails. I am not familiar with AlgebraOfGraphics, but with normal Makie code, |
Thanks for checking this out.
I would expect that `figure_padding=0` does not cut off any of a figures's
content.
Is it possible that this is a bug in Makie? If so, the best solution may be
a bug report there.
…On Thu, May 9, 2024, 09:06 Yi-Xin Liu ***@***.***> wrote:
I can reproduce this. The cutting seems caused by the following line in
the acs theme
theme_args = (figure_padding=0,
Change figure_padding to 4, the cutting is gone.
The purpose of this line is to produce a tight layout. However, it seems
with colorbars, the Makie padding algo fails.
I am not familiar with AlgebraOfGraphics, but with normal Makie code,
figure_padding can be reset when creating the figure object. Or, we can
add a new keyword argument tight=true. When tight=false, set
figure_padding=4.
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7ET7C6ETHV7ANFNF2DH7LZBNYEDAVCNFSM6AAAAABHJRYU4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGYZDGMZYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have created a fresh environment
and generated simple plot
Rendering it with the default theme results in
However,
MakiePublication
'stheme_acs_2col
results in the following figure:This has two issues:
This behaviour is consistent in other MakiePublication themes I have tried.
The text was updated successfully, but these errors were encountered: