gsplot.plot.line_colormap_solid#

Deprecated forwarding shim for gsplot.plot.line_colormap_solid.

Functions

line_colormap_solid(ax, x, y, cmapdata[, ...])

Adapt legacy solid colormap lines to gsplot.cmap_line().

line_colormap_solid(ax, x, y, cmapdata, cmap='viridis', linewidth=1, label=None, interpolation_points=None, **props)#

Adapt legacy solid colormap lines to gsplot.cmap_line().

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])

  • cmap (str)

  • linewidth (float)

  • label (str | None)

  • interpolation_points (int | None)

  • props (Any)

Return type:

list[Any]