Merge pull request #1418 from PySimpleGUI/Dev-latest

Removed illegal append
This commit is contained in:
MikeTheWatchGuy 2019-05-15 10:46:51 -04:00 committed by GitHub
commit 3594ffd03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -2187,7 +2187,6 @@ class Graph(Element):
print('*** WARNING - The Graph element has not been finalized and cannot be drawn upon ***')
print('Call Window.Finalize() prior to this operation')
return None
self.Images.append(image)
try: # in case closed with X
id = self._TKCanvas2.create_image(converted_point, image=image, anchor=tk.NW)
self.Images[id] = image