Skip to content

Commit

Permalink
add warning for users of older Makie versions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwinters5000 committed Jan 19, 2023
1 parent c941f60 commit 330b4bd
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 330b4bd

Please sign in to comment.