JuliaPy / JuliaPy/PythonPlot.jl

Plotting multiple figures with subplots command only display the last figure in PythonPlot.jl

未关闭
#32 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
85
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

Plotting multiple figures with subplots command only display the last figure in both PythonPlot.jl and PyPlot.jl. Kindly run the program below.

using PythonPlot # Pyplot
pygui(true)

x = LinRange(0, 2*pi, 100)
f(x) = @. sin(x)
g(x) = @. cos(x)
h(x) = @. tan(x)

a1=subplots(3)
a1[1] = plot(x,f(x))
a1[2] = plot(x,g(x))
a1[3] = plot(x,h(x))

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by running the Julia reproduction in issue #32 with PythonPlot.jl, then compare the same behavior in PyPlot.jl as requested. Trace the subplots and plot calls to determine why only the last figure is displayed; done means all three figures appear as intended.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia
领域
data-visualization
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。