PyPlot.jl icon indicating copy to clipboard operation
PyPlot.jl copied to clipboard

Closing the first figure disables the following figures

Open antoine-levitt opened this issue 8 years ago • 2 comments
trafficstars

Symptoms look related to https://github.com/JuliaPy/PyPlot.jl/issues/179, but I'm on linux; a friend has the exact same bug. Backend is TkAgg. Possibly related: only the first figure has a task bar icon.

When I do figure(); plot(1); figure(); plot(1) and I close the first figure (through the GUI or close(1)), the second figure becomes unresponsive. I am able to close() it and everything works fine again, though. Works fine through python.

antoine-levitt avatar Oct 26 '17 08:10 antoine-levitt

I can reproduce the problem on my Mac. Works in Python.

I'm guessing the problem lies with PyCall's Tk event loop somehow.

stevengj avatar Oct 26 '17 12:10 stevengj

Possibly fixed by https://github.com/matplotlib/matplotlib/pull/12707? (I can't check easily)

antoine-levitt avatar Jan 23 '19 20:01 antoine-levitt