Traktor/myenv/Lib/site-packages/sympy/plotting/pygletplot/plot_object.py
2024-05-23 01:57:24 +02:00

18 lines
330 B
Python

class PlotObject:
"""
Base class for objects which can be displayed in
a Plot.
"""
visible = True
def _draw(self):
if self.visible:
self.draw()
def draw(self):
"""
OpenGL rendering code for the plot object.
Override in base class.
"""
pass