From: John W. S. <jo...@nm...> - 2012-03-16 18:28:15
|
We have Matplotlib 1.0.1 installed here, and it does not seem to have a Tkinter backend: ================================================================ $ 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 (jo...@nm...), 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 |