You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matplotlib supported colormap id or list of colors for creating a colormap. See `choosing a matplotlib colormap <https://matplotlib.org/3.5.0/tutorials/colors/colormaps.html>`_.
192
-
The default is None.
190
+
cmap : str, list, or None, optional
191
+
Colormap to use when `hue` is a **numeric** variable. Has no effect when `hue` is
192
+
categorical (e.g. ``'archiveType'``), in which case colors come from pyleoclim's
193
+
default archive-type palette or the ``hue_mapping`` kwarg. Accepts:
194
+
195
+
- a named Matplotlib colormap string (e.g. ``'viridis'``, ``'RdBu_r'``, ``'terrain'``)
196
+
- a list of colors that will be interpolated into a continuous colormap
197
+
(e.g. ``['blue', 'white', 'red']``)
198
+
199
+
When ``None`` (default), pyleoclim selects ``'vlag'`` for data that span zero
200
+
and ``'viridis'`` otherwise.
201
+
See `choosing a matplotlib colormap <https://matplotlib.org/stable/gallery/color/colormap_reference.html>`_.
193
202
194
203
fig : matplotlib.pyplot.figure, optional
195
204
See matplotlib.pyplot.figure <https://matplotlib.org/3.5.0/api/_as_gen/matplotlib.pyplot.figure.html#matplotlib-pyplot-figure>_.
For information about Gridspec configuration, refer to `Matplotlib documentation <https://matplotlib.org/3.5.0/api/_as_gen/matplotlib.gridspec.GridSpec.html#matplotlib.gridspec.GridSpec>_. The default is None.
205
214
206
215
kwargs: dict, optional
207
-
- 'missing_val_hue', 'missing_val_marker', 'missing_val_label' can all be used to change the way missing values are represented ('k', '?', are default hue and marker values will be associated with the label: 'missing').
208
-
- 'hue_mapping' and 'marker_mapping' can be used to submit dictionaries mapping hue values to colors and marker values to markers. Does not replace passing a string value for hue or marker.
By default, the shape and colors of symbols denote proxy archives; however, one can use either graphical device to convey other information. For instance, if elevation is available, it may be displayed by size, like so:
0 commit comments