Skip to content

why no offline.iplot_mpl? #365

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

Closed
arsenovic opened this issue Dec 1, 2015 · 3 comments
Closed

why no offline.iplot_mpl? #365

arsenovic opened this issue Dec 1, 2015 · 3 comments

Comments

@arsenovic
Copy link
Contributor

i just saw the new open-sourced plotly.js, and associate offline mode. i love this.

at first use i wondered why there was no offline.iplot_mpl() method?
https://github.com/plotly/plotly.py/blob/master/plotly/offline/offline.py#L60

could offline.iplot be changed to accept mpl figures? or if not, should offline.iplot_mpl be made with something like?

from .tools import mpl_to_plotly
def iplot_mpl(*args,**kw):
    iplot(mpl_to_plotly(*args,**kw))
@jackparmer
Copy link
Contributor

Hey @arsenovic , I think we just haven't gotten around to it. It would be awesome to have offline mpl support, feel free to PR your solution if you have time.

@arsenovic
Copy link
Contributor Author

#366

@cldougl
Copy link
Member

cldougl commented Feb 16, 2016

@cldougl cldougl closed this as completed Feb 16, 2016
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