Skip to content

Commit

Permalink
Add test and change log.
Browse files Browse the repository at this point in the history
Test was proven to fail on main locally.
  • Loading branch information
pllim committed Dec 17, 2024
1 parent c75aa3f commit 8790514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Bug Fixes
occured when certain flux-to flux-conversions occured, as well as certain conversions between flux and surface
brightness. This PR also fixed an issue with unit string formatting in the aperture photometry plugin. [#3228]

- Fixed broken histogram pan/zoom in Plot Options plugin. [#3361]

Cubeviz
^^^^^^^
- Removed the deprecated ``save as fits`` option from the Collapse, Moment Maps, and Spectral Extraction plugins; use the Export plugin instead. [#3256]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ def test_stretch_histogram(cubeviz_helper, spectrum1d_cube_with_uncerts):
assert po.stretch_histogram.marks['vmin'].x[0] == po.stretch_vmin.value
assert po.stretch_histogram.marks['vmax'].x[0] == po.stretch_vmax.value

# Make sure panzoom works
po_panzoom = po.stretch_histogram.toolbar.tools["jdaviz:panzoom"]
po_panzoom.activate()
po_panzoom.deactivate()


@pytest.mark.filterwarnings('ignore')
def test_user_api(cubeviz_helper, spectrum1d_cube):
Expand Down

0 comments on commit 8790514

Please sign in to comment.