From cb7cefc2989cd45e41535accc78c540f92dd26d4 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 29 Oct 2024 07:36:41 +0100 Subject: [PATCH] Update src/init.jl Co-authored-by: Steven G. Johnson --- src/init.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/init.jl b/src/init.jl index 7309c19..0c6db23 100644 --- a/src/init.jl +++ b/src/init.jl @@ -173,8 +173,7 @@ function __init__() isjulia_display[] = isdisplayok() copy!(matplotlib, pyimport_conda("matplotlib", "matplotlib")) global version = try - mvers = matplotlib.__version__ - vparse(mvers) + vparse(matplotlib.__version__) catch v"0.0.0" # fallback end