add_wcs_axes#
- madcubapy.visualization.add_wcs_axes(fig=None, nrows=1, ncols=1, number=1, fitsmap=None, use_std=False, **kwargs)[source]#
Add a
WCSAxesobject with WCS coordinates into an existing figure.A
Figurewith no axes has to be set before calling this function. This is due to the inability to change axis coordinates after it has been called. The coordinates have to be called when creating the axes object. The function returns objects for the axes and the image.- Parameters:
- fig
Figure Figure to which the WCSAxes are added.
- nrows
int Number of rows on the subplot grid.
- ncols
int Number of columns on the subplot grid.
- number
int Number of subplot in the grid in which to paint the Axes.
- fitsmap
MadcubaMaporCCDData Map to be displayed.
- use_std
bool If true, set color limits to ±3 times the standard deviation of the image data.
- fig
- Returns:
- Other Parameters:
- **kwargs
Parameters to pass to
matplotlib.pyplot.imshow().