Skip to content
Snippets Groups Projects
Commit 5fd72477 authored by Midras Lappe's avatar Midras Lappe
Browse files

Fenster schließen

parent ed749563
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ import pandas as pd ...@@ -4,6 +4,7 @@ import pandas as pd
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from collections import deque from collections import deque
currentfig = None
def none(info, image, state): def none(info, image, state):
if 'bufferOrginal' not in state: if 'bufferOrginal' not in state:
...@@ -14,7 +15,12 @@ def none(info, image, state): ...@@ -14,7 +15,12 @@ def none(info, image, state):
return image, False return image, False
def plot_points(x, y, px, py): def plot_points(x, y, px, py):
# currentfig
# if currentfig is not None:
# plt.close(currentfig)
plt.close()
fig = plt.figure() fig = plt.figure()
# currentfig = fig
ax = fig.add_subplot() ax = fig.add_subplot()
ax.scatter(px, py, c='r') ax.scatter(px, py, c='r')
ax.plot(x, y) ax.plot(x, y)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment