Dears Sandro & Darren, First of all, thank you *very much* for the fast reply!
Let's see... I have the same problem (no graphics display) with either Python and IPython. BTW, in previous versions of Python which I'v used (2.3, 2.4, and 2.5) Matplotlib graphic backends always worked quite well. I forgot to mention that I'm using the default version of Matplotlib that comes with Jaunty and it is quite old (0.98.5.2). Should I will try to reinstall it from the sources (easy_install only finds the old version)? I will check the matplotlibrc, but why should the Agg default backend not work? With best regards, 2010/4/1 Darren Dale <dsdal...@gmail.com>: > On Thu, Apr 1, 2010 at 7:53 AM, Mauro Cavalcanti <mauro...@gmail.com> wrote: >> Dear ALL, >> >> Long time no see.... Well, I have recently upgraded from Ubuntu >> Intrepid to Jaunty (sure, I know that I'm a couple of versions >> delayed, but keeping a working system stable is essential). I did not >> a fresh install of Ubuntu, just upgraded using the system's facility >> for that. Previously I have did that from Ubuntu Hardy to Intrepid, >> with less (or no) troubles. However, in Jaunty the default Python >> interpreter has been upgraded from 2.5 to 2.6 and this is presenting >> the most annoying problems. >> >> For now, the most vexing problem is that although Matplotlib is >> correctly installed and seemingly working, it does not show any >> graphics! For exemple, if I run the simple example from Matplotlib's >> website: >> >> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) >> [GCC 4.3.3] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >>>>> from pylab import randn, hist >>>>> x = randn(10000) >>>>> hist(x, 100) >> >> Instead of a nice histogram, I am just presented with a "dump" of the >> contents of an array: >> >> (array([ 2, 0, 1, 2, 1, 2, 1, 3, 4, 7, 15, 16, 9, >> (cut here to save space) >> 3.97823055, 4.05708515, 4.13593975, 4.21479434, 4.29364894, >> 4.37250354]), <a list of 100 Patch objects>) >> >> No error messages or complaints about a missing graphics backend is >> issued, so I'm lost. >> >> Any hints? > > When you run setup.py, the install routines attempt to determine what > backend to use. If a suitable gui toolkit is not found, mpl defaults > to the Agg backend. I suggest creating a matplotlibrc file that > specifies a gui backend. > > Darren > -- Dr. Mauro J. Cavalcanti P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://sites.google.com/site/maurobio Linux Registered User #473524 * Ubuntu User #22717 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users