JuliaPy / JuliaPy/PythonPlot.jl

How can I use gridspec?

Aberta
#50 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Julia
Estrelas
85
Forks
9
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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'
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
matplotlib
Domínio
data-visualization
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.