JuliaPy / JuliaPy/PyPlot.jl

Issue Colorbar placement

未关闭
#489 1 条评论 0 个 reaction 已指派 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 摘要。