plotly / Kaleido

Fast static image export for web-based visualization libraries with zero dependencies
Other
363 stars 36 forks source link

Transparent background not supported for PDF output #91

Open Jeff1995 opened 3 years ago

Jeff1995 commented 3 years ago

When transparent background is used via:

layout = {
    "plot_bgcolor": "rgba(1,1,1,0)",
    "paper_bgcolor": "rgba(1,1,1,0)"
}

Saving the image as PDF output with the kaleido engine does not produce transparent background.

Nevertheless, transparent background does work in the following scenarios:

jonmmease commented 3 years ago

Thanks for the report!