JuliaPy / JuliaPy/PythonPlot.jl
How can I use gridspec?
- Lenguaje dominante
- Julia
- Estrellas
- 85
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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'
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing the shown `fig.add_gridspec` and `fig.add_subplot` calls, especially the `gs[1,0:1]` expression, and inspect how these entry points handle Julia indexing before the Python call. Done means determining whether the usage is supported and documenting or correcting the behavior with a regression test.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- matplotlib
- Área
- data-visualization
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100