[issue26504] tclErr: invalid command name "PyAggImagePhoto"

Roger Mosher report at bugs.python.org
Mon Mar 7 08:46:25 EST 2016


New submission from Roger Mosher:

when trying to show a FigureCanvasTkAgg the program crashes.  Debugging eventually leads me to TkAgg.blit method where we find the following line:
        tk.call(
            "PyAggImagePhoto", photoimage,
            id(data), colormode, id(bbox_array))

which generates a TclError, namely that "PyAggImagePhoto" is an invalid command.  I am using tkinter 8.6

Full details at: 
http://stackoverflow.com/questions/35829961/using-matplotlib-with-tkinter-tkagg

----------
components: Tkinter
messages: 261300
nosy: r mosher
priority: normal
severity: normal
status: open
title: tclErr: invalid command name "PyAggImagePhoto"
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26504>
_______________________________________


More information about the Python-bugs-list mailing list