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.
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
Asked: 2021-06-03 11:00:00 +0000
Seen: 13 times
Last updated: Nov 25 '22
How can I set up Gunicorn with a Django Project?
Looking for a Python Module that finds Tags for a Text describing its Content
Need a Function in Python to remove entries less than 2 digits from an Array
How can I convert a Document in Python?
How can I program a Loop in Python?
How can I enable Python Code Highlighting in Askbot?