neuralib.facemap.plot.plot_cmap_time_series

neuralib.facemap.plot.plot_cmap_time_series(x, y, *, cmap='viridis', ax=None, with_color_bar=True, color_bar_label='frames', output=None, **kwargs)[source]

Plots a scatter plot with a colorbar

Parameters:
  • x (ndarray) – X-axis values. Array[float, T]

  • y (ndarray) – Y-axis values. Array[float, T]

  • cmap (str) – Colormap to use

  • ax (Axes | None) – matplotlib.axes.Axes

  • with_color_bar (bool) – if show the colorbar

  • color_bar_label (str) – color bar label

  • output (str | Path | PathLike[str] | None) – Output file path to save the plot

  • kwargs – pass through ax.scatter()

Return type:

None