psy_maps.plugin module

psy-maps psyplot plugin

This module defines the rcParams for the psy-maps plugin

Classes:

ProjectionValidator(key, valid[, ...])

valid is a list of legal strings.

Functions:

get_versions([requirements])

patch_prior_1_0(plotter_d, versions)

Patch psy_maps plotters for versions smaller than 1.0

validate_dict_yaml(s)

validate_grid(val)

validate_lonlatbox(value)

validate_lsm(val)

Data:

patches

patches to apply when loading a project

class psy_maps.plugin.ProjectionValidator(key, valid, ignorecase=False, *, _deprecated_since=None)[source]

Bases: matplotlib.rcsetup.ValidateInStrings

valid is a list of legal strings.

psy_maps.plugin.get_versions(requirements=True)[source]
psy_maps.plugin.patch_prior_1_0(plotter_d, versions)[source]

Patch psy_maps plotters for versions smaller than 1.0

Before psyplot 1.0.0, the plotters in the psy_maps package where part of the psyplot.plotter.maps module. This has to be corrected

psy_maps.plugin.patches = {('psyplot.plotter.maps', 'CombinedPlotter'): <function patch_prior_1_0>, ('psyplot.plotter.maps', 'FieldPlotter'): <function patch_prior_1_0>, ('psyplot.plotter.maps', 'MapPlotter'): <function patch_prior_1_0>, ('psyplot.plotter.maps', 'VectorPlotter'): <function patch_prior_1_0>}

patches to apply when loading a project

psy_maps.plugin.rcParams

the RcParams for the psy-simple plugin

psy_maps.plugin.validate_dict_yaml(s)[source]
psy_maps.plugin.validate_grid(val)[source]
psy_maps.plugin.validate_lonlatbox(value)[source]
psy_maps.plugin.validate_lsm(val)[source]