Skip to content

Commit

Permalink
Fix test. Adjust rtd version
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Sep 21, 2023
1 parent f239ef2 commit 23d02e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions jwql/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,7 @@ def test_save_png():
ny, nx = image.shape
mapper = LinearColorMapper(palette='Viridis256', low=0 ,high=1.1)
imgplot = plot.image(image=[image], x=0, y=0, dw=nx, dh=ny, color_mapper=mapper, level="image")
#save_png(plot, filename='test.png')
from bokeh.io import export_png
export_png(plot, filename='test.png')
save_png(plot, filename='test.png')


@pytest.mark.skipif(ON_GITHUB_ACTIONS, reason='Requires access to central storage.')
Expand Down
2 changes: 1 addition & 1 deletion rtd_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jwst==1.11.4
pygments==2.16.1
pytest==7.4.0
redis==5.0.0
selenium==4.11.3
selenium==4.11.2
sphinx==6.2.1
sphinx_rtd_theme==1.2.2
stsci_rtd_theme==1.0.0
Expand Down

0 comments on commit 23d02e7

Please sign in to comment.