Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply web driver instance when saving png files #1360

Merged

Conversation

bhilbert4
Copy link
Collaborator

Resolves #1357

With selenium > 4.9.1 it looks like we need to supply a web driver instance to bokeh's export_png() when saving png files. This PR creates a small wrapper function around Bokeh's export_png() that creates the web driver and passes it to export_png.

@bhilbert4 bhilbert4 self-assigned this Sep 21, 2023
@pep8speaks
Copy link

pep8speaks commented Sep 21, 2023

Hello @bhilbert4, Thank you for updating !

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated at 2023-09-29 20:04:05 UTC

@bhilbert4
Copy link
Collaborator Author

Successful testing here as well. @mfixstsci this is ready for review.

jwql/tests/test_utils.py Show resolved Hide resolved
jwql/utils/utils.py Show resolved Hide resolved
@mfixstsci
Copy link
Collaborator

Thanks @bhilbert4

@mfixstsci mfixstsci merged commit 6b057ff into spacetelescope:develop Oct 2, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dark monitor crashing due to reported missing env packages
3 participants