I have a PyObject plot (geo-map involving projections and features from Cartopy via PyCall), and intend to combine it with violin plots from StatsPlots for a specific layout. Trying and searching around find no success.
I try something like this, where p1 is the PyObject, vio1 is the Plots object using PyPlotBackend():
l = @layout [a b]
p = PyPlot.plot(p1, vio1, layout=l)
which gives the error:
> (in a Julia function called from Python)
JULIA: MethodError: no method matching iterate(::Plots.Plot{Plots.GRBackend})
and
l = @layout [a b]
p = Plots.plot(p1, vio1, layout=l)
> MethodError: no method matching Plots.Plot{Plots.PyPlotBackend}(...)
Is there a way to put a PyObject <matplotlib.collections.QuadMesh object at ...>
and a Plots.Plot{Plots.PyPlotBackend}
together as subplots for a specific layout here e.g. through conversion? Otherwise I might need to use external software like PowerPoint or similar…