manylines_helper

visualize.manylines.manylines_helper(pdf, axis=None, colormap=None, groupby_attribute=None, ax=None, figsize=(15, 3))

Helper function which runs on a single core and can be called by map_partitions()

Parameters:
pdf : pd.DataFrame

a pandas DataFrame, each row of which will be plotted out.

axis : tuple | list, optional

axis limits, e.g. (1, 10, 1, 10)

colormap : dict

A colormap to use for the plot. Must map a label from :paramref:groupby_attribute to a color

fig : Figure

A Figure object to plot on. If specified, will plot on the current active axis. If not, it will create one.

figsize : tuple

size of the figure.

Returns:

Figure object containing the lines as specified in pdf.

Return type:

maptlotlib.pyplot.Figure