Issue Colorbar placement
- Lingua principale
- Julia
- Stelle
- 488
- Fork
- 90
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
I am using Plots with PyPlot as a backend for `heatmap`. The placement of the colorbar doesn't match the width of the heatmap (see picture) also I can't move the position of the colorbar.
The first issue is resolved when I switch to GR as a backend but not the second.
Here is the same issue https://github.com/JuliaPlots/Plots.jl/issues/1755
Here is my code:
```
using Plots
pyplot()
x = randn(10,200)
heatmap(x, color = :inferno, colorbar = :bottom)
```
Result:
[picture.pdf](https://github.com/JuliaPy/PyPlot.jl/files/4660040/picture.pdf)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reproducing the reported heatmap with the PyPlot backend using `pyplot()`, `colorbar = :bottom`, and the provided 10x200 random array. Read the linked Plots.jl issue for related context and compare the PyPlot and GR results. Done means the colorbar matches the heatmap width and its position can be controlled consistently.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, matplotlib
- Ambito
- data-visualization
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100