PythonPlot.jl icon indicating copy to clipboard operation
PythonPlot.jl copied to clipboard

How can I use gridspec?

Open mdhe1248 opened this issue 9 months ago • 0 comments

Could anyone show me how to use gridspec?

fig = figure();
gs = fig.add_gridspec(2,2);
ax1 = fig.add_subplot(gs[0,0]); # this works
ax2 = fig.add_subplot(gs[1,0:1]); #This does not work

I get the following error:

ERROR: Python: TypeError: '<' not supported between instances of 'range' and 'int'

mdhe1248 avatar Apr 21 '25 17:04 mdhe1248