Skip to content

Commit 82bcd5d

Browse files
Remove leftover debug print statements from RegionSelected handler (#1526)
Co-authored-by: Mario Behling <mb@mariobehling.de>
1 parent 39371f7 commit 82bcd5d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

py/visdom/server/handlers/web_handlers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,11 @@ def update(p, args, max_text_lines, max_old_content, max_image_history):
132132
p["content"]["selected"] = args["data"]["selected"]
133133
elif args["data"]["update_type"] == "RegionSelected":
134134
p["content"]["selected"] = None
135-
print(len(p["content"]["data"]))
136135
p["old_content"].append(p["content"]["data"])
137136
if len(p["old_content"]) > max_old_content:
138137
p["old_content"] = p["old_content"][-max_old_content:]
139138
p["content"]["has_previous"] = True
140139
p["content"]["data"] = args["data"]["points"]
141-
print(len(p["content"]["data"]))
142140
return p
143141
if p["type"] == "image_history":
144142
utype = args["data"][0]["type"]

0 commit comments

Comments
 (0)