Files
caplot/plot2d.py
2021-05-08 13:55:56 +02:00

14 lines
207 B
Python

from matplotlib import pyplot as plt
class Plot2D:
def __init__(self, *args, **kwargs):
self.plot = plt.imshow(*args, **kwargs)
def set(self, value):
self.plot.set_data(value)