Merge pull request #1418 from PySimpleGUI/Dev-latest
Removed illegal append
This commit is contained in:
commit
3594ffd03a
|
@ -2187,7 +2187,6 @@ class Graph(Element):
|
||||||
print('*** WARNING - The Graph element has not been finalized and cannot be drawn upon ***')
|
print('*** WARNING - The Graph element has not been finalized and cannot be drawn upon ***')
|
||||||
print('Call Window.Finalize() prior to this operation')
|
print('Call Window.Finalize() prior to this operation')
|
||||||
return None
|
return None
|
||||||
self.Images.append(image)
|
|
||||||
try: # in case closed with X
|
try: # in case closed with X
|
||||||
id = self._TKCanvas2.create_image(converted_point, image=image, anchor=tk.NW)
|
id = self._TKCanvas2.create_image(converted_point, image=image, anchor=tk.NW)
|
||||||
self.Images[id] = image
|
self.Images[id] = image
|
||||||
|
|
Loading…
Reference in New Issue