Skip to content

why no offline.iplot_mpl?  #365

Closed
Closed
@arsenovic

Description

@arsenovic

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions