visualizemanylinesmanylines

manylines

visualize.manylines.manylines(df, ax=None, axis=None, colormap=None, groupby_attribute=None, figsize=(15, 3), returnPixelObject=False, scheduler=None)

Parallelizes the plot of many lines

Parameters:
  • df (pd.DataFrame) – the dataframe containing voltage traces,

  • ax (matplotlib.pyplot.Axes) – an ax instance.

  • axis (list) – the ax limits, e.g. [1, 10, 1, 10]

  • colormap (dict) – a colormap, mapping values for :paramref:groupby_attribute to colors.

  • groupby_attribute (str) – column name to group by.

  • figsize (tupe(int)) – the size of the Figure

  • returnPixelObject (bool) – Whether or not to return as a PixelObject

  • scheduler (distributed.client.Client | str, optional) – a distributed scheduler.

Returns:

Figure object containing all lines defined in :paramref:df

Return type:

fig (matplotlib.pyplot.Figure)