Warning on Plots in Jupyter

Not sure if this merits a bug report, but I recently started having the following warning pop up. It doesn’t seem to interfere with my ability to generate figures, and it does not show up in the REPL:

│ MethodError: no method matching joinpath(::Nothing)
│ Closest candidates are:
│   joinpath(!Matched::AbstractString) at path.jl:244
│   joinpath(!Matched::AbstractString, !Matched::AbstractString...) at path.jl:289
│ Stacktrace:
│  [1] stat(::Nothing) at ./stat.jl:109
│  [2] isfile(::Nothing) at ./stat.jl:311
│  [3] _init_ijulia_plotting() at /Users/gideonsimpson/.julia/packages/Plots/jIs2V/src/ijulia.jl:7
│  [4] top-level scope at /Users/gideonsimpson/.julia/packages/Plots/jIs2V/src/init.jl:75
│  [5] eval at ./boot.jl:331 [inlined]
│  [6] eval at /Users/gideonsimpson/.julia/packages/Plots/jIs2V/src/Plots.jl:1 [inlined]
│  [7] (::Plots.var"#277#310")() at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:97
│  [8] err(::Any, ::Module, ::String) at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:42
│  [9] (::Plots.var"#276#309")() at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:96
│  [10] withpath(::Any, ::String) at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:32
│  [11] (::Plots.var"#275#308")() at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:95
│  [12] listenpkg(::Any, ::Base.PkgId) at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:15
│  [13] macro expansion at /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:93 [inlined]
│  [14] __init__() at /Users/gideonsimpson/.julia/packages/Plots/jIs2V/src/init.jl:73
│  [15] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
│  [16] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:782
│  [17] _require(::Base.PkgId) at ./loading.jl:1007
│  [18] require(::Base.PkgId) at ./loading.jl:928
│  [19] require(::Module, ::Symbol) at ./loading.jl:923
│  [20] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1091
│  [21] execute_code(::String, ::String) at /Users/gideonsimpson/.julia/packages/IJulia/rWZ9e/src/execute_request.jl:27
│  [22] execute_request(::ZMQ.Socket, ::IJulia.Msg) at /Users/gideonsimpson/.julia/packages/IJulia/rWZ9e/src/execute_request.jl:86
│  [23] #invokelatest#1 at ./essentials.jl:710 [inlined]
│  [24] invokelatest at ./essentials.jl:709 [inlined]
│  [25] eventloop(::ZMQ.Socket) at /Users/gideonsimpson/.julia/packages/IJulia/rWZ9e/src/eventloop.jl:8
│  [26] (::IJulia.var"#15#18")() at ./task.jl:356
└ @ Requires /Users/gideonsimpson/.julia/packages/Requires/vyVBT/src/require.jl:44

This is with the most recent release of Plots.jl on Julia 1.5.2

I thought this was fixed in https://github.com/JuliaPlots/Plots.jl/pull/3087, so as of v.1.7.1, are you on 1.7.1?

Yes, I’m getting this in 1.7.1

Should work in the upcoming release: https://github.com/JuliaPlots/Plots.jl/pull/3090