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

Multiple figures generated in a single Jupyter cell #403

Closed
juliohm opened this issue Jul 24, 2016 · 3 comments
Closed

Multiple figures generated in a single Jupyter cell #403

juliohm opened this issue Jul 24, 2016 · 3 comments

Comments

@juliohm
Copy link

juliohm commented Jul 24, 2016

First of all, thank you for this package, it is awesome. I started using it today and I am impressed how the API is intuitive, flexible and easy to learn.

I have a simple question: how do you generate multiple figures in a single Jupyter cell? For example, with the matplotlib backend I would call figure(), is there a equivalent in Plots.jl?

@tbreloff
Copy link
Member

This is not directly supported. You could put them all in a single plot as subplots, or you could call show/writemime on the plot object to get the underlying png/svg data and display that yourself.

I don't want this to be the standard method of display, though PyPlot does it this way. However if you come up with a clean solution I'd be happy to add it to src/output.jl.

@juliohm
Copy link
Author

juliohm commented Jul 25, 2016

Thank you @tbreloff. I am closing the issue for now, just being able to save figures in a loop is enough in most practical scenarios.

@juliohm juliohm closed this as completed Jul 25, 2016
@brunocastroibarburu94
Copy link

Hi, since a couple of years have passed I was wondering if now this feature may be available?

I believe from a UX point of view it would be a nice to have, but is ok if is still not available :)

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

3 participants