JuliaPy / JuliaPy/PythonPlot.jl

How can I use gridspec?

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
85
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Could anyone show me how to use gridspec?
```jl
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:
```jl
ERROR: Python: TypeError: '<' not supported between instances of 'range' and 'int'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.