xoa.core.plot.TaylorDiagram.add_points

xoa.core.plot.TaylorDiagram.add_points#

TaylorDiagram.add_points(std, corr, labels=None, values=None, markers='o', colors=None, cmap=None, vmin=None, vmax=None, legend=True, colorbar=True, legend_kwargs=None, cbar_kwargs=None, **kwargs)[source]#

Add points to the diagram

Parameters:
  • std (array_like(n)) – Standard deviations and correlations

  • corr (array_like(n)) – Standard deviations and correlations

  • labels (None, list(str)) – One label per point, added to the legend. With values, they are written next to the points.

  • values (None, array_like(n)) – Values that color the markers, with a colorbar.

  • markers (str, list(str)) – One marker for all the points, or one per point, cycled if shorter.

  • colors (None, color, list) – Colors when no values are given. They follow the color cycle by default.

  • cmap – Colormap and its limits when values are given

  • vmin – Colormap and its limits when values are given

  • vmax – Colormap and its limits when values are given

  • legend (bool) – Add a legend (when there are labels and no values) or a colorbar (when there are values)

  • colorbar (bool) – Add a legend (when there are labels and no values) or a colorbar (when there are values)

  • legend_kwargs (None, dict) – Parameters of matplotlib.axes.Axes.legend() and add_colorbar()

  • cbar_kwargs (None, dict) – Parameters of matplotlib.axes.Axes.legend() and add_colorbar()

  • kwargs – Extra parameters are passed to matplotlib.axes.Axes.plot() or matplotlib.axes.Axes.scatter()

Returns:

list – The artists, one per point without values and one per marker with values