This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: tclErr: invalid command name "PyAggImagePhoto"
Type: Stage:
Components: Tkinter Versions: Python 3.5
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: r mosher
Priority: normal Keywords:

Created on 2016-03-07 13:46 by r mosher, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg261300 - (view) Author: Roger Mosher (r mosher) Date: 2016-03-07 13:46
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
msg261419 - (view) Author: Roger Mosher (r mosher) Date: 2016-03-09 12:23
It appears to be a problem with the Anaconda 3 distribution.

See: https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/xssOnleIPFw

for a discussion.
History
Date User Action Args
2022-04-11 14:58:28adminsetgithub: 70691
2016-03-09 12:23:47r moshersetstatus: open -> closed

messages: + msg261419
2016-03-07 13:46:25r moshercreate