mckinsey / vizro

Vizro is a toolkit for creating modular data visualization applications.
https://vizro.readthedocs.io/en/stable/
Apache License 2.0
2.46k stars 109 forks source link

[Bug] Change security headers on public demo to be able to download charts as png #510

Closed huong-li-nguyen closed 3 weeks ago

huong-li-nguyen commented 3 weeks ago

Description

Currently if you click on the "download as png" button in the modebar of a chart, it does not work.

Might be related to this: https://github.com/REditorSupport/vscode-R/issues/904

Given that the download as png button works on demo run locally, I assume it's our security header settings that have to change.

Expected behavior

Screenshot of the chart to be downloaded as png when clicking on the button

Which package?

vizro

Package version

latest

Python version

3.8

OS

-

How to Reproduce

  1. Visit vizro.mckinsey.com
  2. Click on "download as png" on any of the chart

Output

No response

Code of Conduct