================
New Features
------------
- Stretch bounds tool now enables dynamic adjustment of spline knots. [2545, 2623]
- Stretch histogram shows a spinner when the histogram data is updating. [2644]
- Spectrum and image viewer bounds can now be set through the Plot Options UI. [2604, 2649]
- Opacity for spatial subsets is now adjustable from within Plot Options. [2663]
- Live-preview of aperture selection in plugins. [2664, 2684]
- "Export Plot" plugin is now replaced with the more general "Export" plugin. [2722, 2782]
- "Export" plugin supports exporting plugin tables, plugin plots, data, and
non-composite spatial subsets.[2755, 2774, 2760, 2772, 2770, 2780, 2784]
- Opening a plugin in the tray (from the API or the toolbar buttons) now scrolls to that plugin.
[2768]
Cubeviz
^^^^^^^
- Calculated moments can now be output in velocity units. [2584, 2588, 2665, 2697]
- Added functionality to Collapse and Spectral Extraction plugins to save results to FITS file. [2586]
- Moment map plugin now supports linear per-spaxel continuum subtraction. [2587]
- Single-pixel subset tool now shows spectrum-at-spaxel on hover. [2647]
- Spectral extraction plugin re-organized into subsections to be more consistent with specviz2d. [2676]
- Add conical aperture support to cubeviz in the spectral extraction plugin. [2679]
- New aperture photometry plugin that can perform aperture photometry on selected cube slice. [2666]
- Live previews in spectral extraction plugin. [2733]
- Slice plugin is refactored to rely on the spectral value instead of the slice index. This removes
both the slider and slice-index input. [2715]
Imviz
^^^^^
- There is now option for image rotation in Orientation (was Links Control) plugin.
This feature requires WCS linking. [2179, 2673, 2699, 2734, 2759]
- Add "Random" colormap for visualizing image segmentation maps. [2671]
- Enabling any matched zoom tool in a viewer disables other matched zoom tools in other viewers
to avoid recursion. [2764]
Specviz2d
^^^^^^^^^
- Spectral extraction plugin: highlighting of active header section. [2676]
API Changes
-----------
- ``width`` argument in Line Analysis plugin is renamed to ``continuum_width`` and ``width``
will be removed in a future release. [2587]
- New API access to ``viz.data_labels``, ``viewer.data_labels_visible``, and
``viewer.data_labels_loaded``. [2626]
Cubeviz
^^^^^^^
- ``spatial_subset`` in the spectral extraction plugin is now renamed to ``aperture`` and the deprecated name will
be removed in a future release. [2664]
- Slice plugin's ``wavelength``, ``wavelength_unit``, and ``show_wavelength`` are deprecated in favor
of ``value``, ``value_unit``, and ``show_value``, respectively. ``slice`` is also deprecated
and should be replaced with accessing/setting ``value`` directly. [2706, 2715]
- Disabled exporting spectrum-viewer to PNG in Cubeviz; pending investigation/bugfix. [2777]
Imviz
^^^^^
- Links Control plugin is now called Orientation. [2179]
- Linking by WCS will now always generate a hidden reference data layer
without distortion. As a result, when WCS linked, the first loaded data
is no longer the reference data. Additionally, if data is distorted,
its distortion will show when linked by WCS. If there is also data without WCS,
it can no longer be displayed when WCS linked. [2179]
- ``imviz.link_data()`` inputs and behaviors are now consistent with the Orientation plugin. [2179]
- Single-pixel tool is no longer available. To mark a single-pixel area, use Markers plugin. [2710]
Bug Fixes
---------
- Fix redshifted line lists that were displaying at rest wavelengths, by assuming a global redshift. [2726]
- Order of RGB preset colors now matches for less than and greater than 5 layers. [2731]
Cubeviz
^^^^^^^
- Spectral extraction now ignores NaNs. [2737]
Imviz
^^^^^
- Apertures that are selected and later modified to be invalid properly show a warning. [2684]
- Histogram in Plot Options no longer stalls for a very large image. [2735]
Specviz
^^^^^^^
- Check unit type (e.g., flux density, surface brightness, counts, etc) for generating
display label for the y axis in spectral viewer. Previously it was hard coded
to always display ``flux density`` no matter the input unit. [2703]