Skip to main content

Opinionated xarray accessor for choosing colormaps

Project description

xcmocean

xarray accessor for automating choosing colormaps, aimed at geosciences. Documentation at: https://xcmocean.readthedocs.io.

Also optional dependence on cf-xarray.

Installation:

You can pip install direct from this github repo. This is probably the easiest way to do install at the moment.

pip install git+git://github.com/pangeo-data/xcmocean

Example usage:

import xcmocean

ds.salt.cmo.contourf(x='lon', y='lat')

which would make a contourf plot of the ds.salt data using the cmocean haline colormap. More examples in the docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcmocean-0.0.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

xcmocean-0.0.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page