JuliaPy / JuliaPy/PyPlot.jl

Issue Colorbar placement

オープン
#489 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, matplotlib
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。