I want to use PyPlot and Plots in parallel in order to enable interactivity for certain plots in jupyterlab (Julia 1.1.1; IJulia 1.18.1). It seems that
import Plots, PyPlot pygui(true)
leads to an error:
ArgumentError: invalid gui none Stacktrace:  pygui(::Symbol) at /Users/mariusgorner/.julia/packages/PyCall/ttONZ/src/gui.jl:59  pygui_start(::Symbol, ::Float64) at /Users/mariusgorner/.julia/packages/PyCall/ttONZ/src/gui.jl:222 (repeats 2 times)  pygui(::Bool) at /Users/mariusgorner/.julia/packages/PyPlot/cdCMF/src/init.jl:211  top-level scope at In:2
import PyPlot, Plots pygui(true)
just works fine. This does not happen in the REPL.
Is there another way to use the pygui directly from Plots frontend?