Giter Site home page Giter Site logo

Comments (8)

arsenovic avatar arsenovic commented on May 5, 2024 1

http://nbviewer.ipython.org/gist/arsenovic/8375182

from plotly.py.

msund avatar msund commented on May 5, 2024

Hey Alex, thanks for checking out Plotly. We've talked about this idea before. What other plotting methods are you working on and do you all use? If you want to submit a pull request, we'd welcome any and all help and love to work with you.

That's a very cool NB.

from plotly.py.

arsenovic avatar arsenovic commented on May 5, 2024

@mattsundquist , here is an example of common plots for scikit-rf comparing matplotlib and plotly.

http://nbviewer.ipython.org/gist/arsenovic/8714896#

obviously this is just a proof of concept. it would be nice to get some feedback/ideas from the ipython/matplotlib team ( @ellisonbg @fperez @mdboom ).. i think it would be great to have a more comprehensive converter, perhaps even a note-book wide output via config option, c.InlineBackend.figure_format or rcParams or something. . .?

from plotly.py.

ellisonbg avatar ellisonbg commented on May 5, 2024

This is fantastic! The way we are recommending that third party projects handle this is to define an HTML formatter for maplotlib.Figure objects. Once you do that, if the users is running with %pylab inline or %matplotlib inline it will "just work" = the plots will just show up when a user calls the various matplotlib plot functions - no explicit call needed to display. mpld3 is already doing this exactly. Here is there code for it:

https://github.com/jakevdp/mpld3/blob/master/mpld3/display.py#L103

from plotly.py.

msund avatar msund commented on May 5, 2024

Thanks for the idea and inspiration @arsenovic and all your help and support @ellisonbg. This project is ongoing, but definitely up and running: https://pypi.python.org/pypi/matplotlylib.

For a NB, check out some of the @theengineear's delightful plots:

http://nbviewer.ipython.org/github/mpld3/matplotlylib/blob/master/notebooks/Plotly%20and%20mpld3.ipynb.

from plotly.py.

arsenovic avatar arsenovic commented on May 5, 2024

very impressive.

from plotly.py.

ellisonbg avatar ellisonbg commented on May 5, 2024

Awesome!

On Wed, Apr 2, 2014 at 12:51 AM, msund [email protected] wrote:

Closed #3 #3.

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Brian E. Granger
Cal Poly State University, San Luis Obispo
[email protected] and [email protected]

from plotly.py.

chriddyp avatar chriddyp commented on May 5, 2024

This is now officially incorporated in the plotly package now (Version 1.0.x). Thanks again for the suggestions!

Check out the matplotlylib chapter in our plotly user guide here: http://nbviewer.ipython.org/github/plotly/python-user-guide/blob/master/s6_matplotlylib/s6_matplotlylib.ipynb

from plotly.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.