Skip to content
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

Font of exponents sticks to default when the axis scales are regular. #2467

Open
himcraft opened this issue Dec 4, 2022 · 1 comment · May be fixed by #4424
Open

Font of exponents sticks to default when the axis scales are regular. #2467

himcraft opened this issue Dec 4, 2022 · 1 comment · May be fixed by #4424
Labels
Axis related to `Axis()` objects bug Makie Backend independent issues (Makie core) text

Comments

@himcraft
Copy link

himcraft commented Dec 4, 2022

Thank @jkrumbiegel for fixing the exponents displaying problem in #2321. It shows the right font when the axis scale is set to logarithmic.

But for regular scales, the font of the exponents is still the default font after I changed the font. The MWE is as follows:

p=5000000 .+rand(40).*3000000
q=collect(1:40).*100000
f=Figure(fonts=(;regular="CMU"))
ax1=Axis(f[1,1],title="regular scales")
scatterlines!(ax1,q,p)
ax2=Axis(f[2,1],title="log scales",yscale=log10,xscale=log10)
scatterlines!(ax2,q,p)
f

test

@jkrumbiegel
Copy link
Member

Oh good point, for those we would have to work around Showoff.showoff I think, which we use to format normal numeric ticks.

@ffreyer ffreyer added Makie Backend independent issues (Makie core) text Axis related to `Axis()` objects bug labels Aug 23, 2024
@himcraft himcraft linked a pull request Sep 29, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Axis related to `Axis()` objects bug Makie Backend independent issues (Makie core) text
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants