Hi, on the computer where it does not work the backend is 'agg'. In a virtual machine, where it works, the backend shows 'TkAgg'
Now on the machine it does not work I run the following: >>> import matplotlib >>> matplotlib.use('TkAgg') >>> import matplotlib.pyplot as plt ImportError: cannot import name _tkagg Works with 'QT4Agg' though. Where is the default config for matplotlib located so I can change to 'QT4Agg'? Many thanks so far. Plot window opened. But I don't want to set the backend everytime i run matplotlib. On 19/06/2012 18:43, Goyo wrote: > 2012/6/19 Goyo <goyod...@gmail.com>: >>> I think it normally shouldn't give the object ID. >> Yes, it should. >> > Sorry, not an "object ID" but a string representation of the returned object. > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users