Julia v1.9.2 Plots v1.38.0 Seaborn v1.1.1
I am trying to combine a heatmap (sbplot) from Seaborn and a regular Plots.plot (hist) as below, but am getting ERROR: MethodError: no method matching getindex(::Nothing, ::Int64)
using Seaborn
using Plots
sbplot = Seaborn.heatmap([1 1.5; 3 2.8])
hist = Plots.bar([1,1.5, 2.,7])
combo = Plots.plot(sbplot,hist,layout=(2,1))
sbplot has many attributes, and I have tried sbplot.figure, .plot, .get_figure, etc., but could not get a compatible object to put together with hist. Any suggestions? Thank you!
Thanks @kirklong for the suggestion! This workaround did work for me.