Plotters (plotters)

Plotter Plugins for PyPinT

pypint.plugins.plotters.colorline(x, y, z=None, cmap=<matplotlib.colors.LinearSegmentedColormap object at 0x7ffa79bccc10>, norm=<matplotlib.colors.Normalize object at 0x7ffa79a393d0>, linewidth=3, alpha=1.0)[source]

Plot a colored line with coordinates x and y Optionally specify colors in the array z Optionally specify a colormap, a norm function and a line width

pypint.plugins.plotters.make_segments(x, y)[source]

Create list of line segments from x and y coordinates, in the correct format for LineCollection: an array of the form numlines x (points per line) x 2 (x and y) array