On 03/16/2012 08:28 AM, John W. Shipman wrote:
> We have Matplotlib 1.0.1 installed here, and it does not seem to
> have a Tkinter backend:

The backend has always been available, but it appears only if the Tk/Tcl 
headers are found when mpl is built.  So, upgrading mpl is generally a 
good thing to do anyway, but it won't help in your case unless you 
install the mpl dependencies before building mpl.  See
http://matplotlib.sourceforge.net/users/installing.html.

Eric

>
> ================================================================
> $ python
> Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16)
> [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import matplotlib as mpl
>>>> mpl.__version__
> '1.0.1'
>>>> from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
> Traceback (most recent call last):
>     File "<stdin>", line 1, in<module>
> ImportError: No module named backend_tkagg
> ----------------------------------------------------------------
>
> This page seems to imply that such a backend exists:
>
> http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_tk.html
>
> However, the official documentation of the backends module does not show
> such a back end.
>
> If we upgrade to 1.1.0, will this backend be available?
>
> I realize that there are several good GUI backends out there, but
> I have a lot of Tkinter experience and can't afford the two or
> three months it would take to learn GTK+.  Also, how come the
> oldest Python GUI hasn't been supported previously, or is the
> documentation for Matplotlib embedding hidden someplace?
>
> Best regards,
> John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer Center,
> Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john
>     ``Let's go outside and commiserate with nature.''  --Dave Farber
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to