Plotting#

PyProBE has a plotting module that can display any RawData or Result object. The plotting module is based on plotly.

You first create a plot instance:

plot = pyprobe.Plot()

Then you can add data to and display the plot:

result = cell.procedure['Procedure Name'].experiment('Experiment Name').cycle(4).charge(2)
plot.add_line(result, 'Time [s]', 'Voltage [V]')
plot.show()

add_line() adds a line to the plot. The first argument is the RawData or Result object data to be plotted, the second and third arguments are quantities to plot in x and y.

For other plot types see the Plot class documentation.