JuliaPy / JuliaPy/PythonPlot.jl

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

Offen
#32 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
85
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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))

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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