Ask Your Question
1

What is the method for displaying plotly graphs in a PDF report?

asked 2021-06-03 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-11-25 11:00:00 +0000

djk gravatar image

There are multiple ways to display Plotly graphs in a PDF report, but here is one method:

Step 1: Create your Plotly graph using Python, R, or the Plotly web app. Step 2: Save the graph as a static image file (e.g. PNG, JPG, SVG) using the Plotly export function or a third-party library like matplotlib. Step 3: Insert the image file into your PDF report using a PDF editor or LaTeX if you're using it to create the report.

Alternatively, you can use the Plotly or JupyterLab PDF export extension (Plotly.py only) to export interactive Plotly graphs directly to PDF. However, this approach may require additional configuration and dependencies installation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-03 11:00:00 +0000

Seen: 13 times

Last updated: Nov 25 '22