diff --git a/src/init.jl b/src/init.jl index 79d0813..0c6db23 100644 --- a/src/init.jl +++ b/src/init.jl @@ -172,9 +172,8 @@ function __init__() ccall(:jl_generating_output, Cint, ()) == 1 && return nothing isjulia_display[] = isdisplayok() copy!(matplotlib, pyimport_conda("matplotlib", "matplotlib")) - mvers = matplotlib.__version__ global version = try - vparse(mvers) + vparse(matplotlib.__version__) catch v"0.0.0" # fallback end