insert_colorbar#
- madcubapy.visualization.insert_colorbar(ax=None, location='right', size='5%', pad=0.05, **kwargs)[source]#
Insert a colorbar to one side of a
AxesorWCSAxesobject, fitting it into the same space.- Parameters:
- Returns:
- cbar
Colorbar Colorbar object.
- cbar
- Other Parameters:
- **kwargs
Parameters to pass to
matplotlib.pyplot.colorbar().