spacetelescope / jdaviz

JWST astronomical data analysis tools in the Jupyter platform
https://jdaviz.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
134 stars 71 forks source link

Standalone app: Save movie makes axes invisible in light mode #2282

Open Jdaviz-Triage-Bot opened 1 year ago

Jdaviz-Triage-Bot commented 1 year ago

Reporter: pllim

As reported in https://github.com/spacetelescope/jdaviz/pull/2264#issuecomment-1612052525

Workflow to reproduce 1 (transparent background in PNG):

  1. Fire up Cubeviz. Load the data in example notebook.
  2. Export Plot -> Export to PNG
  3. Save the file, then open it up in your favorite image editor like Photoshop. See that the background of the axes is transparent, not white.

Workflow to reproduce 2 (invisible axes in MPEG-4):

  1. Fire up Cubeviz. Load the data in example notebook.
  2. Export Plot -> Export to Video
  3. Just a few frames is enough (say, 10).
  4. Export to MP4. Then play the video with your favorite movie player and see that axes are not visible (black text on black background).

This is not a problem for standalone app (viola) dark mode, or any mode in regular notebook/lab (non-viola) usage.

Maarten suspected that this is caused by some CSS viola/bqplot is using for the standalone mode. @maartenbreddels or @mariobuikhuizen should investigate upstream.

🐱


DISCLAIMER: This issue was autocreated by the Jdaviz Issue Creation Bot on behalf of the reporter. If any information is incorrect, please contact Duy Nguyen

stscijgbot-jwql commented 2 months ago

This issue is tracked on JIRA as JDAT-3579.

stscijgbot-jwql commented 2 months ago

Comment by Duy Nguyen on JIRA:

NOTICE: A corresponding GitHub issue was automatically created: #2282