Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Download more than 1 plot at same time in single pdf

Let’s say I am plotting more than 1 chart on page. Please refer attached image for reference. Individual chart download exists, but I want to download multiple charts in same file.

plotly.js doesn’t support that at this time, unfortunately.

There’s a few things you can try:

  • combine your graphs into one graph with 3 subplots
  • compose the generated images server-side using e.g. graphics magick
  • try some pdf generating tool like: electron-pdf or puppeteer

Thanks for the hint, but problem with subplot is I can not have chart title, legend and annotations for individual chart.
Is there any way to assign individual chart title and legend in subplot ?