unified Plot*.set(), always accept times and values

This commit is contained in:
2021-06-03 10:16:34 +02:00
parent bd9150fb1a
commit 123b7987fd
2 changed files with 5 additions and 4 deletions

View File

@@ -28,7 +28,8 @@ class Plot2D(Object):
super().__init__(fig)
def set(self, image):
def set(self, times, values):
image = values[-1]
self.source.data.update(image=[image])