gsplot.plot.scatter_colormap#

Deprecated forwarding shim for gsplot.plot.scatter_colormap.

Functions

scatter_colormap(ax, x, y, cmapdata[, size, ...])

Adapt legacy colormapped scatter calls to gsplot.cmap_scatter().

scatter_colormap(ax, x, y, cmapdata, size=1, cmap='viridis', vmin=0, vmax=1, alpha=1, label=None, **props)#

Adapt legacy colormapped scatter calls to gsplot.cmap_scatter().

Parameters:
  • ax (Axes)

  • x (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

  • y (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

  • cmapdata (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

  • size (float)

  • cmap (str)

  • vmin (float)

  • vmax (float)

  • alpha (float)

  • label (str | None)

  • props (Any)

Return type:

Any