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

Change deprecated textsize to fontsize #21

Merged
merged 2 commits into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/HOHQMesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function __init__()
# Enable features that depend on the availability of the Makie package
@require Makie="ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" begin
using .Makie
if isdefined(Makie, :to_textsize)
@warn "You seem to be using an older version of Makie (< v0.19). Some plotting functions may not work."
end
include("Viz/VizProject.jl")
include("Viz/VizMesh.jl")
# Make the actual plotting routines available
Expand Down
2 changes: 1 addition & 1 deletion src/Viz/VizProject.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function plotCurve(plt, points::Matrix{Float64}, legendLabel::String, curveLabel
# theta = 0.0
# end
pp = (points[np,1],points[np,2])
text!(plt[1,1],curveLabel,textsize = 28, position = pp, align = (:center,:center) )
text!(plt[1,1],curveLabel, fontsize = 28, position = pp, align = (:center,:center) )
end


Expand Down