What's new in APLpy 1.0
Feb 18, 2015
- New features:
- Added new ``show_vectors`` to show vector maps.
New in APLpy 1.0 RC 1 (Feb 16, 2015)
- Improvements:
- The ``auto_refresh`` option now defaults to ``False`` unless IPython is being used and the Matplotlib backend is interactive.
- Bug fixes:
- Fix a bug that caused RGB images to be incorrectly displayed when zooming in.
New in APLpy 0.9.14 (Nov 26, 2014)
- Bug fixes:
- Fix a bug that caused smoothing to fail with integer arrays. [#165]
- Improvements:
- Fix deprecation warnings from Astropy. [#173]
New in APLpy 0.9.13 (Oct 6, 2014)
- New features:
- Added ``FITSFigure.set_title`` method that can be used to set the title of a figure. [#175]
- Improvements:
- Beams and scalebars can now optionally be instantiated with Astropy angular units and quantities. [#186]
- APLpy now includes image tests to ensure reliability over time. [#200]
- The code is now all Python 2 and 3 compatible without requiring 2to3. [#198]
- Bug fixes:
- Fix bug that caused a crash when plotting an image with a single valid pixel [#197]
- Fixed a severe bug that caused rotated images to have incorrect pixel scales determined. [#211]
- Fixed a bug that caused set_nan_color to modify Matplotlib colormaps globally rather than apply just to the desired FITSFigure. [#214]
New in APLpy 0.9.12 (Jul 17, 2014)
- New features:
- Added the ability to call ``fig.show_contour()`` without arguments and used the data used to initialize ``FITSFigure``. [#170]
- Added the ability to format colorbar ticks in exponential notation using the ``log_format`` argument. [#143]
- Added the ability to make NaNs transparent in RGB image output, using the ``make_nans_transparent`` argument. [#138]
- API Changes:
- astropy.wcs.WCS no longer contains information about the original image size. Any attempt to instantiate a FITSFigure from a WCS object will raise a DeprecationException. A workaround is to add `naxisn` attributes to your WCS object:: mywcs = wcs.WCS(header) mywcs.naxis1 = header['NAXIS1'] mywcs.naxis2 = header['NAXIS2']
- Bug fixes:
- FITSFigure can now be instantiated using an astropy.io.fits.CompImageHDU object. [#188]
- The coordinate grid is now plotted on the whole axes, not just the subset containing the image (noticeable when zooming out). [#118]
New in APLpy 0.9.11 (Dec 16, 2013)
- Fix a bug that meant that pixel scales were incorrectly extracted for some WCS settings. [#156]
New in APLpy 0.9.5 (Oct 11, 2010)
- New Features:
- Support for image and contour smoothing
- Support for slicing of n-dimensional datacubes
- Support for beam:
- -> add_beam()
- -> remove_beam()
- Support for colorbar:
- -> add_colorbar()
- -> remove_colorbar()
- Support for scalebar:
- -> add_scalebar()
- -> remove_scalebar()
- Support for plotting ds9 region files:
- -> show_regions()
- Support for automatic bounding box adjustments when saving
- New method to set the color to use for NaN values:
- -> set_nan_color()
- Auto refreshing has been improved. Figures only refresh once per user
- command if refreshing is turned on.
- Ensure tick spacing / label format consistency
- New method to overlay polygons
- API changes:
- The API has been majorly overhauled. Methods that have been
- deprecated will give instructions on the new methods to use.
- Bug fixes:
- Fixed a bug with filled contours
- Fixed bug with remove_layer
- Fixed bug with montage commands
New in APLpy 0.9.4 (Aug 25, 2009)
- New Features
- methods such as show_contour, show_markers, etc. now return the
- contour, marker, etc. object
- added a method to retrieve the object in a specific layer:
- > get_layer()
- ability to show the beam for the observations:
- -> show_beam()
- -> hide_beam()
- -> set_beam_properties()
- added the ability to show/hide only the x or y axis/tick labels:
- -> show_xtick_labels()
- -> hide_xtick_labels()
- -> show_ytick_labels()
- -> hide_ytick_labels()
- -> show_xaxis_labels()
- -> hide_xaxis_labels()
- -> show_yaxis_labels()
- -> hide_yaxis_labels()
- convenience functions for world to pixel and pixel to world
- conversion:
- -> world2pixel()
- -> pixel2world()
- added a convention= argument to FITSFigure() and show_contour(). This is
- to be used in cases where the WCS interpretation is ambiguous. For
- example, a -CAR projection with CRVAL20 can be interpreted in two
- different ways. If an ambiguous case pops up, APLpy will raise an
- exception and ask for the convention to be specified.
- API changes
- set_labels_latex() is now set_system_latex()
- Bug fixes
- the current position of the cursor in world coordinates is now correctly
- shown in interactive mode
- fixed an issue which caused RGB FITS cubes to be 64-bit
- fixed a bug which meant that the coordinate grid was not updated
- immediately during pan and zoom
New in APLpy 0.9.3 (Jul 20, 2009)
- New Features:
- added aplpy.make_rgb_cube() that allows users to make a FITS RGB cube from
- three FITS files with different projections
- added aplpy.make_rgb_image() that allows users to make an RGB file in
- standard image formats from a FITS RGB cube
- added width= and height= arguments to aplpy.FITSFigure.recenter() method.
- added show_circles(), show_ellipses(), and show_rectangles() to
- aplpy.FITSFigure
- new hide_grayscale() and hide_colorscale() methods
- API changes:
- changes to the API for set_tick_labels_* and set_axis_labels_* methods
- percentiles values are now specified between 0 and 100
- Bug fixes:
- fixed an issue which ocurred when reading in FITS cubes
- fixed an issue which led to the last tick along an axis being missing for coarse
- images
- fixed a bug that occured if set_theme was called before showing the image
- fixed a bug that occured when show_contour was called after removing a layer
New in APLpy 0.9.2 (Jun 3, 2009)
- Improved compatibility issues with matplotlib 0.98.6svn
- Improved speed of initialization of FITSFigure
New in APLpy 0.9.1.2 (Jun 2, 2009)
- Fixed a major bug that occured when reading in Galactic -CAR images
New in APLpy 0.9.1 (May 15, 2009)
- New Features:
- Users can now pass a pyfits HDU instance instead of filenames for both FITSFigure() and show_contour() if desired.
- Users can now specify an existing figure with the figure= argument.
- Users with a recent enough version of matplotlib (0.98.6svn) can now use the subplot= argument to place multiple plots in a single figure.
- New hide/show_tick_labels() and hide/show_axis_labels() methods.
- Show_grayscale and show_colorscale() now accept percentile_lower= and percentile_higher= as arguments.
- Show_grayscale and show_colorscale() now print out vmin and vmax if chosen automatically.
- New recenter() method to pan and zoom non-interactively.
- General Fixes and Optimization:
- Added HDU keyword for the show_contour() method.
- More robust reading in FITS file for the show_contour() method.
- Warning if FITS files do not exist for FITSFigure() or show_contour().
New in APLpy 0.4.7 (Apr 25, 2009)
- Relaxed version requirement for matplotlib.