Skip to content

Commit

Permalink
Fix rich ticks for PolarAxis
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed Feb 1, 2024
1 parent 14528a1 commit cec3540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ReferenceTests/src/tests/figures_and_makielayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ end
rticklabelstrokewidth = 1, rticklabelstrokecolor = :white,
thetaticklabelsize = 18, thetaticklabelcolor = :blue,
thetaticklabelstrokewidth = 1, thetaticklabelstrokecolor = :white,
thetaticks = ([0, π/2, π, 3π/2], ["A", "B", "C", rich("D", color = :orange)]), # https://github.com/MakieOrg/Makie.jl/issues/3583
)
f
end
Expand Down
2 changes: 1 addition & 1 deletion src/makielayout/blocks/polaraxis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ function draw_axis!(po::PolarAxis)
end


thetatick_pos_lbl = Observable{Vector{<:Tuple{AbstractString, Point2f}}}()
thetatick_pos_lbl = Observable{Vector{<:Tuple{Any, Point2f}}}()
thetatick_align = Observable(Point2f[])
thetatick_offset = Observable(Point2f[])
thetagridpoints = Observable{Vector{Point2f}}()
Expand Down

0 comments on commit cec3540

Please sign in to comment.