A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://animatplot.readthedocs.io/en/latest/tutorial/../_as_gen/animatplot.blocks.Scatter.html below:

animatplot.blocks.Scatter — animatplot 0.4.3 documentation

animatplot animatplot.blocks.Scatter
class animatplot.blocks.Scatter(x, y, s=None, c=None, ax=None, t_axis=0, **kwargs)[source]

Animates scatter plots

Parameters:
  • x (list of 1D numpy arrays or a 2D numpy array) – The x data to be animated.

  • y (list of 1D numpy arrays or a 2D numpy array) – The y data to be animated.

  • s (scalar, or array_like of the same form as x/y, optional) – The size of the data points to be animated.

  • c (color, optional) – The color of the data points. Cannot [yet] be animated.

  • ax (matplotlib.axes.Axes, optional) – The matplotlib axes to attach the block to. Defaults to matplotlib.pyplot.gca()

  • t_axis (int, optional) –

    The axis of the numpy array that represents time. Defaults to 0. No effect if x, y are lists of numpy arrays.

    The default is chosen to be consistent with:

    X, T = numpy.meshgrid(x, t)

ax

The matplotlib axes that the block is attached to.

Type:

matplotlib.axes.Axes

Notes

This block accepts additional keyword arguments to be passed to matplotlib.axes.Axes.scatter()

Methods

__init__(x, y, s=None, c=None, ax=None, t_axis=0, **kwargs)[source]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4