
Outline a circle in this and another Axes to create a loupe.
#Interactive skychart Patch
Returns : patch Other Parameters : argsĮxtra keyword arguments for mark_inset_circle ( ax, center, radius, * args, ** kwargs ) ¶ Outline the footprint of another WCSAxes inside this one. Returns : image Other Parameters : hdu_in, order, nested, field, smoothĮxtra keyword arguments for mark_inset_axes ( ax, * args, ** kwargs ) ¶ Parameters : data numpy.ndarray or str or TableHDU or BinTableHDU or tupleĪn optional smoothing length in angle-compatible units. Returns : contours Other Parameters : hdu_in, order, nested, field, smoothĮxtra keyword arguments for imshow_hpx ( data, hdu_in = None, order = 'bilinear', nested = False, field = 0, smooth = None, ** kwargs ) ¶Īdd an image for a HEALPix data set.

Returns : countours Other Parameters : hdu_in, order, nested, field, smoothĮxtra arguments for reproject.reproject_from_healpix kwargsĮxtra keyword arguments for contourf_hpx ( data, hdu_in = None, order = 'bilinear', nested = False, field = 0, smooth = None, ** kwargs ) ¶Īdd filled contour levels for a HEALPix data set. smooth, optionalĪn optional smoothing length in angle-compatible units. Understood by reproject.reproject_from_healpix. Otherwise, the input data can be any type that is Interpreted as the HEALPix array in the same coordinate system as Parameters : data numpy.ndarray or str or TableHDU or BinTableHDU or tuple Other Parameters : argsĮxtra arguments for kwargsĮxtra keyword arguments for contour_hpx ( data, hdu_in = None, order = 'bilinear', nested = False, field = 0, smooth = None, ** kwargs ) ¶Īdd contour levels for a HEALPix data set. The radius of the circle in units that are compatible with degrees. Returns : patch Other Parameters : argsĮxtra arguments for kwargsĮxtra keyword arguments for connect_inset_circle ( ax, center, radius, * args, ** kwargs ) ¶Ĭonnect a circle in this and another Axes to create a loupe. connect_inset_axes ( ax, loc, * args, ** kwargs ) ¶Ĭonnect a corner of another WCSAxes to the matching point inside Position of compass vertex in axes coordinates. compass ( x, y, size ) ¶Īdd a compass to indicate the north and east directions. The pixel scale is adjusted to the DPI of the image,Īnd there are a variety of convenience methods. AutoScaledWCSAxes ( * args, header, obstime = None, ** kwargs ) ¶Īxes base class. ( Source code, png, hires.png, pdf) class. reticle (), markersize = 30, markeredgewidth = 3 ) get_transform ( 'world' ), marker = ligo. imshow_hpx ( url, cmap = 'cylon' ) ax_inset. connect_inset_axes ( ax_inset, 'lower left' ) ax_inset. connect_inset_axes ( ax_inset, 'upper left' ) ax. set_ticklabel_visible ( False ) ax_inset. axes (, projection = 'astro zoom', center = center, radius = 10 * u. axes (, projection = 'astro globe', center = center ) ax_inset = plt. figure ( figsize = ( 4, 4 ), dpi = 100 ) ax = plt. The following example demonstrates most of the features of this module.įrom ordinates import Sk圜oord from astropy.io import fits from astropy import units as u import from matplotlib import pyplot as plt url = '' center = Sk圜oord. ( Source code, png, hires.png, pdf) Complete Example ¶ set_facecolor ( 'none' ) for key in : ax. connect_inset_circle ( ax_zoom_circle, '120d +10d', '4 deg' ) ax_globe. mark_inset_circle ( ax_zoom_circle, '120d +10d', '4 deg' ) ax_globe. connect_inset_axes ( ax_zoom_rect, 'lower right' ) ax_globe. connect_inset_axes ( ax_zoom_rect, 'upper left' ) ax_globe.

mark_inset_axes ( ax_zoom_rect ) ax_globe. axes (, projection = 'astro degrees zoom', center = '120d +10d', radius = '5 deg' ) ax_globe. axes (, projection = 'astro degrees zoom', center = '150d +30d', radius = '9 deg' ) ax_zoom_circle = plt.

axes (, projection = 'astro degrees globe', center = '120d +23d' ) ax_zoom_rect = plt. figure ( figsize = ( 9, 4 ), dpi = 100 ) ax_globe = plt. Import from matplotlib import pyplot as plt fig = plt. Projections support the options center, radius, and rotate. Projections support the options center and rotate. Some of the projections support additional optional arguments. Zoom for a gnomonic projection suitable for visualizing small zoomed-in Globe for an orthographic projection, like the three-dimensional view of Mollweide for the Mollweide all-sky projection If omitted, astro implies hours and geo implies It controls the reference frame, either celestial (ICRS), terrestrial (ITRS), The form astro_or_geo_or_galactic projection.Īstro_or_geo_or_galactic may be astro, geo, or galactic. Subclasses to the Matplotlib projection registry. Sky Map Plotting ( ) ¶Īxes subclasses for astronomical mapmaking.
