Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot to specific Blink.Window() #755

Closed
bluehope opened this issue Apr 1, 2017 · 2 comments
Closed

Plot to specific Blink.Window() #755

bluehope opened this issue Apr 1, 2017 · 2 comments

Comments

@bluehope
Copy link

bluehope commented Apr 1, 2017

Is there a way to perform a plot in a specific Blink.Window?

For example If I have Blink.window [w1, w2].

import Plots
Plots.plotlyjs()

import Blink
w1 = Blink.Window()
w2 = Blink.Window()

Can I plot separately in a [w1,w2] window?

Plots.plot(rand(10,1)) # Plot to w1
Plots.plot(rand(10,3)) # Plot to w2

Thanks in advance.

@mkborregaard
Copy link
Member

I know this does not answer your question - but you can achieve what the example does by

using Plots
plot(rand(10,1))
plot(rand(10,3), reuse = false)

@WeiMXi
Copy link

WeiMXi commented Mar 11, 2020

I'm try to it now, but I using Plotly

using Plotly
using Blink
fig1 = plot(rand(10, 1));
fig2 = plot(rand(10, 3));
w1 = Window()
w2 = Window()
body!(w1, fig1.scope)
body!(w2, fig2.scope)
# now exchange them
body!(w1, fig2.scope)
body!(w2, fig1.scope)

but it seem plotly not update for julia 1.3.1(my version), some function can't use.

@t-bltg t-bltg closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants