-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Have iplot
return static image format of the plotly plot
#1
Comments
Awesome! Thanks! Nice to e-meet you. We're psyched to meet Fernando + team in Feb. IPython has been an wonderful way for communicating / teaching API tidbits to users, plus a lot of fun! We're looking into adding image conversion to Plotly's API, so one could swap out the interactive iframe for a static image (svg, pdf, png, or eps), then they could use nbconvert. We would love to be able to export our notebooks with plotly graphs into pdf or latex - We'll certainly be in touch if we have questions or make headway! |
Thanks so much for the suggestion! We finally got around to this, fixed in #107
Here is the notebook: http://nbviewer.ipython.org/gist/chriddyp/32a4ed87825346cb233c |
I seem to be having problems with this. Your example didn't work for me the pdf showed I am running OSX el captain 10.11.2.
|
It seems the PDF version doesn't show the plotly graph. @chriddyp |
When I type display(Image(raw_image_data)) into Jupyter Notebook, there is an error rising and saying Image is not defined. Any suggestion? Thanks @ellisonbg |
we’ll end up adding a lot of this stuff back at the end. for now, let’s just only test python 35
Adding setup details for mapbox token to help with #3483
Update _streamline.py to avoid np.matrix
The
iplot
function produces an HTML representation of a plotly plot for usage in the IPython notebook. IPython also supports converting notebooks to LaTeX/PDF documents throughIPython.nbconvert
. To get this to work, iplot would have to also display a static image format of the plot. It would be as simply as a call todisplay(Image(raw_image_data))
to include that in the notebook.We (IPython dev team) is super excited about plotly and are more than willing to answer questions, etc. about the IPython integration.
The text was updated successfully, but these errors were encountered: