Bot'n Roll ONE A+ - Raspberry Pi 5 library
 
Loading...
Searching...
No Matches
onepi.utils.chart_plotter.ChartPlotter Class Reference

Public Member Functions

 __init__ (self, number_of_series=1, buffer_size=100, x_label="Iter", y_label="Value", title="Title", labels=[[]])
 
 set_title (self, title)
 
 set_axis_labels (self, x_label, y_label)
 
 set_series_labels (self, series_labels)
 
 set_y_limits (self, y_min=0, y_max=800)
 
 update_buffers (self, data)
 
 show_plot (self)
 
 close_plot (self)
 

Public Attributes

 fig = [[] for _ in range(number_of_series)]
 
 ax = plt.subplots()
 
 x = np.arange(-buffer_size, 0, 1)
 

The documentation for this class was generated from the following file: