altair icon indicating copy to clipboard operation
altair copied to clipboard

Plot display but the content is empty when the plot is saved as HTML and it is opened in Mozilla Firefox

Open erikfilias opened this issue 3 years ago • 3 comments

Dear,

I tried to open Mozilla Firefox, a plot that is saved as HTML. The plot is displayed but the content is empty as it is shown in the next image: I am using Altair 4.1.0 in Python 3.9.5

image

Any suggestion will be appreciated. Thanks in advance.

erikfilias avatar Dec 20 '21 09:12 erikfilias

Thanks for the report - it's hard to help without more information.

  1. Can you include the full code snippet used to create and save the chart? (preferably a minimal reproducible example, which may involve creating a similar chart using a different, simpler dataset)
  2. In firefox, can you check the Browser console for any errors that are displayed?

jakevdp avatar Dec 20 '21 15:12 jakevdp

Thanks for the report - it's hard to help without more information.

  1. Can you include the full code snippet used to create and save the chart? (preferably a minimal reproducible example, which may involve creating a similar chart using a different, simpler dataset)
  2. In firefox, can you check the Browser console for any errors that are displayed?

Thanks for the comment.

  1. My chart is a time series with an hourly resolution that is opened without any issues in Google Chrome and Microsoft Edge. Sorry, my example is not a minimal reproducible one. It can download here.
  2. In the console appears this error: image How could I solve it? Thanks in advance.

erikfilias avatar Dec 20 '21 18:12 erikfilias

3rd party zip downloads are suspicious, and I'm not willing to click on that link. Please edit the original question and paste your minimal reproducible example code. Thanks!

jakevdp avatar Dec 20 '21 19:12 jakevdp

Closing issue as stale and no response from user.

binste avatar May 27 '23 06:05 binste