JuliaPy / JuliaPy/PyPlot.jl

Issue Colorbar placement

Offen
#489 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
488
Forks
90
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.