mplStrater.strata.Symbology

class mplStrater.strata.Symbology(d=None, fill=None, hatches=None)

Bases: object

This is the symbology definition object for layers of the mplStrater.strata.Column object

Parameters
  • d (dict) –

    dict, containing a pair (key,progressive_unique_index). Must start from 1.

    example_dict={
        "soil":1,
        "sand":2,
        "clay":3
    }
    

  • fill (list) – list of fill values

  • hatches (list) – list of hatch values

d

encoded dictionary of string values.

Type

dict

fill

list of fill values

Type

list

cmap

cmap

Type

matplotlib.colors.ListedColormap

hatches

list of hatch values

Type

list

__init__(d=None, fill=None, hatches=None)

Methods

__init__([d, fill, hatches])