MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.4k stars 306 forks source link

fontsize does not propagate into PolarAxis #3928

Open pzabka opened 4 months ago

pzabka commented 4 months ago

The parameter fontsize does not propagate into PolarAxis

This works:

fig = Figure()
ax = PolarAxis(fig[1, 1]; rticklabelsize = 50, thetaticklabelsize = 50)
fig

This doesn't:

fig = Figure(fontsize = 50)
ax = PolarAxis(fig[1, 1])
fig

Tested with: GLMakie v0.10.2 CairoMakie v0.12.2

ffreyer commented 4 months ago

Should be easy to fix by changing the relevant attributes to inherit from fontsize like Axis. See https://github.com/MakieOrg/Makie.jl/blob/master/src/makielayout/types.jl