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

plotly not compatible with nbviewer/nbconvert, slide view #750

Closed
tarokiritani opened this issue May 5, 2017 · 3 comments
Closed

plotly not compatible with nbviewer/nbconvert, slide view #750

tarokiritani opened this issue May 5, 2017 · 3 comments

Comments

@tarokiritani
Copy link

My plot is rendered nicely when my jupyter notebook is seen with nbviewer as a notebook. However, in the slide mode, the image is very narrow.

Here is my plot viewed in a slide.

This looks better when viewed as a notebook.

Is this a problem of plotly or nbconvert? What can I do about this for now?

@empet
Copy link

empet commented May 5, 2017

@tarokiritani Insert in the dict layout the following keys-values:

autosize=False,
width=600,
height=600

and convert again with:

jupyter-nbconvert --to slides test-plotly.ipynb --reveal-prefix=reveal.js --post serve

@tarokiritani
Copy link
Author

Thanks a lot. I now can see the entire figure.

@astrojuanlu
Copy link
Contributor

Same issue as #750.

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