Skip to content

powerpoint export #1461

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
jonmmease opened this issue Mar 12, 2019 · 2 comments
Closed

powerpoint export #1461

jonmmease opened this issue Mar 12, 2019 · 2 comments

Comments

@jonmmease
Copy link
Contributor

It would be pretty interesting to add a function to plotly.io to export figures as PowerPoint slides.

We could have a thin write_powerpoint wrapper on top of python-pptx (https://python-pptx.readthedocs.io/en/latest/). That would output a single slide PPTX presentation, optionally based on a template. This single slide could then be copied into a larger presentation.

For more complex reports, we should probably provide some documentation examples of integrating plotly figures using the python-pptx API.

@jackparmer
Copy link
Contributor

jackparmer commented Mar 12, 2019

For anyone interested, Jon also had a nice vision for how chart images in ppt slides could link to the interactive version.

[Jon's notes from Slack]:

  • Potential syntax: plotly.io.write_powerpoint(fig, 'output.pptx', template='template.pptx', picture_name='Image1')

  • Could use orca to create the static image to embed in the slide, and write out a standalone HTML file, and link the static image in the slide to open the HTML file in the default web browser.

  • With the plotly.io.renderer proposal we could also add a power_point renderer so evaluating show(fig, renderer='power_point') would open a ppt slide containing the figure

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

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