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
If a dictionary of formatting arguments is supplied (e.g. color, alpha), will draw according to specifications.
346
346
Default is off (False).
347
+
348
+
fig : matplotlib.pyplot.figure, optional
349
+
See matplotlib.pyplot.figure <https://matplotlib.org/3.5.0/api/_as_gen/matplotlib.pyplot.figure.html#matplotlib-pyplot-figure>_.
350
+
The default is None.
347
351
352
+
gridspec_slot : Gridspec slot, optional
353
+
If generating a map for a multi-plot, pass a gridspec slot.
354
+
The default is None.
355
+
356
+
title : string
357
+
Title for the plot. Default is None
358
+
359
+
size : string, optional
360
+
Grouping variable that will produce points with different sizes. Expects to be associated with numeric values (e.g., 'elevation' has values). Any data without a value for the size variable will be filtered out.
361
+
The default is None.
362
+
363
+
edgecolor : color (string) or list of rgba tuples, optional
Parameters for the scatter plot. The default is None.
382
+
383
+
cmap : string or list, optional
384
+
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>`_.
385
+
The default is None.
386
+
387
+
colorbar : bool, optional
388
+
Whether the draw a colorbar on the figure if the data associated with hue are numeric.
389
+
Default is True.
390
+
391
+
gridspec_kwargs : dict, optional
392
+
Function assumes the possibility of a colorbar, map, and legend. A list of floats associated with the keyword `width_ratios` will assume the first (index=0) is the relative width of the colorbar, the second to last (index = -2) is the relative width of the map, and the last (index = -1) is the relative width of the area for the legend.
393
+
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.
Includes: The temporal coefficient (PC or similar), its spectrum, and the loadings (EOF or similar), possibly geolocated.
189
189
If the object does not have geolocation information, a spaghetti plot of the standardized series is displayed.
190
+
191
+
To see how to use the different parameters, consult the following tutorial: http://linked.earth/PyleoTutorials/notebooks/L2_principal_component_analysis.html
- scalar_mappable: matplotlib.cm.ScalarMappable; can be used to pass a matplotlib scalar mappable. See pyleoclim.utils.plotting.make_scalar_mappable for documentation on using the Pyleoclim utility, or the `Matplotlib tutorial on customizing colorbars <https://matplotlib.org/stable/users/explain/colors/colorbar_only.html>`_.
247
249
248
250
scatter_kwargs : dict, optional
249
-
Optional arguments configuring how data are plotted on a map. See description of scatter_kwargs in pyleoclim.utils.mapping.scatter_map
251
+
Optional arguments configuring how data are plotted on a map. This allows you to configure information about the style of markers (e.g., triangle, squares, circles), their size (through `markersize`), edgecolor, etc...) See description of scatter_kwargs in pyleoclim.utils.mapping.scatter_map
250
252
251
253
hue : str, optional
252
254
(only applicable if using scatter map) Variable associated with color coding for points plotted on map. May correspond to a continuous or categorical variable.
(only applicable if using scatter map) Grouping variable that will produce points with different markers. Can have a numeric dtype but will always be treated as categorical.
261
-
The default is None, which will produce circle markers. Alternatively, pass the name of a categorical variable, e.g. 'archiveType'. If 'archiveType' is specified, will attempt to use pyleoclim archiveType markers mapping, defaulting to '?' where values are unavailable.
263
+
The default is None, which will produce circle markers. Alternatively, pass the name of a categorical variable, e.g. 'archiveType'. If 'archiveType' is specified, will attempt to use pyleoclim archiveType markers mapping, defaulting to '?' where values are unavailable. Caution: this is different from the `marker` argument in matplotlib. If you want to specify a marker style (e.g., cirle, square, triangle, use scatter_kwargs)
0 commit comments