maps.charts.layers

Module Contents

Classes

Layer

Class connecting a plotted map layer with its underlying data.

LayerGroup

A group of related layers.

class maps.charts.layers.Layer(data, mappable, subplot, style=None)

Class connecting a plotted map layer with its underlying data.

Parameters:

data (earthkit.data.core.Base) – The underlying data represented on the plot.

property ax

The matplotlib axes on which this layer is plotted.

property axes

All matplotlib axes over which this layer is plotted.

property fig

The matplotlib figure on which this layer is plotted.

format_string(string)
legend(*args, **kwargs)

Generate a legend for this specific layer.

class maps.charts.layers.LayerGroup(layers)

A group of related layers.

Parameters:

layers (list of earthkit.maps.charts.layers.Layer objects) – A list of grouped layers.

property axes
property fig
property mappable
property style
property subplots
format_string(string, unique=True)
legend(*args, **kwargs)