cosmoplotian Documentation

This is the documentation for cosmoplotian.

cosmoplotian is a small package that defines some useful options within the matplotlib API. It does this in two main way:

  • Provides a set of WCS projections using the astropy.visualization.wcsaxes.WCSAxes interface. These are designed to help plot HEALPix maps in both Galactic and ICRS frames.

  • Provides a set of nice colormaps, integrated into the cmap API.

There are a few additional utility functions that can be imported and used, but mostly the package works behind the scenes in matplotlib.

Reference/API

cosmoplotian Package

Functions

test(**kwargs)

Run the tests for the package.

Classes

AstroAitoffAxes(*args, **kwargs)

AstroDegreesAitoffAxes(*args, **kwargs)

AstroDegreesGlobeAxes(*args, **kwargs)

AstroDegreesMollweideAxes(*args, **kwargs)

AstroDegreesZoomAxes(*args, **kwargs)

AstroGlobeAxes(*args, **kwargs)

AstroHoursAitoffAxes(*args, **kwargs)

AstroHoursGlobeAxes(*args, **kwargs)

AstroHoursMollweideAxes(*args, **kwargs)

AstroHoursZoomAxes(*args, **kwargs)

AstroMollweideAxes(*args, **kwargs)

AstroZoomAxes(*args, **kwargs)

AutoScaledWCSAxes(*args, header[, obstime])

Axes base class.

CosmoAitoffAxes(*args, **kwargs)

CosmoDegreesAitoffAxes(*args, **kwargs)

CosmoDegreesGlobeAxes(*args, **kwargs)

CosmoDegreesMollweideAxes(*args, **kwargs)

CosmoDegreesZoomAxes(*args, **kwargs)

CosmoGlobeAxes(*args, **kwargs)

CosmoHoursAitoffAxes(*args, **kwargs)

CosmoHoursGlobeAxes(*args, **kwargs)

CosmoHoursMollweideAxes(*args, **kwargs)

CosmoHoursZoomAxes(*args, **kwargs)

CosmoMollweideAxes(*args, **kwargs)

CosmoZoomAxes(*args, **kwargs)

ScaleBar(ax, xy, length, *args, **kwargs)

There are two ways for defining an arrow:

Class Inheritance Diagram

Inheritance diagram of cosmoplotian.projections.AstroAitoffAxes, cosmoplotian.projections.AstroDegreesAitoffAxes, cosmoplotian.projections.AstroDegreesGlobeAxes, cosmoplotian.projections.AstroDegreesMollweideAxes, cosmoplotian.projections.AstroDegreesZoomAxes, cosmoplotian.projections.AstroGlobeAxes, cosmoplotian.projections.AstroHoursAitoffAxes, cosmoplotian.projections.AstroHoursGlobeAxes, cosmoplotian.projections.AstroHoursMollweideAxes, cosmoplotian.projections.AstroHoursZoomAxes, cosmoplotian.projections.AstroMollweideAxes, cosmoplotian.projections.AstroZoomAxes, cosmoplotian.projections.AutoScaledWCSAxes, cosmoplotian.projections.CosmoAitoffAxes, cosmoplotian.projections.CosmoDegreesAitoffAxes, cosmoplotian.projections.CosmoDegreesGlobeAxes, cosmoplotian.projections.CosmoDegreesMollweideAxes, cosmoplotian.projections.CosmoDegreesZoomAxes, cosmoplotian.projections.CosmoGlobeAxes, cosmoplotian.projections.CosmoHoursAitoffAxes, cosmoplotian.projections.CosmoHoursGlobeAxes, cosmoplotian.projections.CosmoHoursMollweideAxes, cosmoplotian.projections.CosmoHoursZoomAxes, cosmoplotian.projections.CosmoMollweideAxes, cosmoplotian.projections.CosmoZoomAxes, cosmoplotian.projections.ScaleBar