PyOpenWorm.plot module¶
-
class
PyOpenWorm.plot.
Plot
(data=None, *args, **kwargs)[source]¶ Bases:
PyOpenWorm.dataObject.DataObject
Object for storing plot data in PyOpenWorm.
Parameters: - data : 2D list (list of lists)
List of XY coordinates for this Plot.
- Example usage ::
>>> pl = Plot([[1, 2], [3, 4]]) >>> pl.get_data() # [[1, 2], [3, 4]]