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

`reuse` broken.

Open mkborregaard opened this issue 7 years ago • 11 comments
trafficstars

When I

gr()
plot(sin); plot(cos, reuse = false)

it still reuses the window. On plotlyjs it opens a new electron window, doesn't plot to it, then hangs indefinitely. cc @jheinen

mkborregaard avatar Jan 25 '18 14:01 mkborregaard

@mkborregaard : I get similar output behaviour with gr() and pyplot(). What would you expect when using gr()?

jheinen avatar Jan 25 '18 15:01 jheinen

I'd expect the second plot call to open a new device.

mkborregaard avatar Jan 25 '18 15:01 mkborregaard

... same old story (with GR) - must be fixed before 1.0 :smile:

jheinen avatar Jan 25 '18 16:01 jheinen

It's now 8 months:

  • reuse=false works with pyplot()
  • reuse=false doesn't work with gr()

lewisl avatar Aug 30 '18 03:08 lewisl

Any update on this?

NeonNeon avatar Mar 14 '19 13:03 NeonNeon

This feature will be available thru the upcoming qtTerm which will handle pan/zoom, multiple windows and hover effects. Unfortunately, it's still WIP (but should be available before JuliaCon).

jheinen avatar Mar 14 '19 14:03 jheinen

This feature will be available thru the upcoming qtTerm which will handle pan/zoom, multiple windows and hover effects. Unfortunately, it's still WIP (but should be available before JuliaCon).

Any update on this? According to https://github.com/jheinen/GR.jl/issues/306#issuecomment-618253404, GR seems using QtTerm already, but this issue hasn't been resolved yet.

wsshin avatar Mar 29 '21 04:03 wsshin

Further confirmation that the multiple backend philosophy has outlived its usefulness when something this fundamental can't be supported on multiple backends.

Pick one backend for GUI windows and make it work. Pick on backend for web and make it work.

Less work for the package developers. Less frustration for users. It's high time for this.

lewisl avatar Jun 09 '22 01:06 lewisl

The primary backend for Plots is GR.

mkborregaard avatar Jun 09 '22 05:06 mkborregaard