

Used for example to show contours, since this involves Transformation used for this WCSAxes instance. World coordinates are the same as those in the WCS Transformation from pixel to world coordinates, where the This does not include the transData transformation Parameters frame WCS or Transform or str The frame parameter can have several possible types: See also _window_extent _tightbbox _window_extent get_transform ( frame ) ¶ Returns BboxBaseīounding box in figure pixel coordinates. The xlabel, or the y-extent of the ylabel. The bounding box will not include the x-extent of the title and call_axes_locator=False can be used if theĬaller is only interested in the relative size of the tightbboxĬompared to the Axes bbox. _axes_locator attribute, which is necessary to get the correctīounding box. If call_axes_locator is False, it does not call the None (default), then all artist children of the Axes are List of artists to include in the tight bounding box. Renderer that will be used to draw the figures (i.e.įig.canvas.get_renderer()) bbox_extra_artists list of Artist or None

Parameters renderer RendererBase subclass Return the tight bounding box of the axes, including axis and theirĪrtists that have t_in_layout(False) are not included draw_wcsaxes ( renderer ) ¶ get_coords_overlay ( frame, coord_meta = None ) ¶ get_tightbbox ( renderer, * args, ** kwargs ) ¶ draw ( renderer, ** kwargs ) ¶ĭraw the axes. This is a custom implementation of contourf()Ĭontourf(). Positional and keyword arguments are the same as forĬontour(). Performance rather than to each contour line individually. Which applies the transform (if specified) to all contours in one go for This is a custom implementation of contour() Methods Documentation contour ( * args, ** kwargs ) ¶ Method to set the tick and tick label parameters in the same way as the tick_params() method in Matplotlib. Reset the current Axes, to use a new WCS object.

Plot Sk圜oord or BaseCoordinateFrame objects onto the axes. Return a transform from the specified frame to display coordinates. Return the tight bounding box of the axes, including axis and their decorators (xlabel, title, etc). The class for the frame, which should be a subclass of Shown on the y-axis (and therefore the data will be plotted usingĭata.transpose()) frame_class type, optional X axis, and the final WCS dimension (first Numpy dimension) will be That the first WCS dimension (last Numpy dimension) will be sliced atĪn index of 50, the second WCS and Numpy dimension will be shown on the Order of the items in the slice should be the same as the order of theĭimensions in the WCS, and the opposite of the Values should be integers indicating the slice through the data. Should contain one x entry, one y entry, and the rest of the slices tuple, optionalįor WCS transformations with more than two dimensions, we need toĬhoose which dimensions are being shown in the 2D image. transData Transform, optionalĬan be used to override the default data -> pixel mapping. Optionally also include a format_unit entry giving the units to useįor the tick labels (if not specified, this defaults to unit). None otherwise), and the unit should give the unit of the Give, for the longitude, the angle at which the coordinate wraps (and Longitude, latitude, or scalar, the wrap entries should Each of these should be a list with as many items as theĭimension of the WCS. This should include the keys type, wrap, and If this is specified, wcs cannot beĪ dictionary providing additional metadata when transform is If this is specified, transform cannot be

The position of the axes in the figure in relative units. The main axes class that can be used to show world coordinates from a WCS. WCSAxes ( fig, rect, wcs = None, transform = None, coord_meta = None, transData = None, slices = None, frame_class = None, ** kwargs ) ¶
