You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(17) |
2
(3) |
3
(2) |
4
(11) |
5
(8) |
6
(22) |
7
(16) |
8
(9) |
9
(14) |
10
(1) |
11
(8) |
12
(5) |
13
(7) |
14
(10) |
15
(28) |
16
(8) |
17
(20) |
18
(6) |
19
(5) |
20
(15) |
21
(8) |
22
(7) |
23
(14) |
24
(10) |
25
(6) |
26
(8) |
27
(9) |
28
(11) |
29
(13) |
30
(20) |
|
First, you folks respond faster than lightning -- I can't keep up! Second, thanks for the tip -- that's definitely more elegant than my callow approach. John Hunter-4 wrote: > > On Thu, Sep 1, 2011 at 1:23 PM, CompBio <rog...@cs...> wrote: > >> BTW, the reason I specify a PDF backend is because I thought it would >> tell >> matplotlib not to try to use anything else "behind the scenes" such as an >> X-window display. It's working the way I want now, so I assume that's >> what >> it's doing. > > But at others have pointed out, your code is unnecessarily complex. Just > do > > import matplotlib > matplotlib.use('agg') > import pylab > > and when you call savefig, you can pass ps, eps, pdf, png or svg and > the mpl code will choose the right backend, and never launch a GUI. > > JDH > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/RuntimeError%3A-could-not-open-display-tp32380449p32381652.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On Thu, Sep 1, 2011 at 1:23 PM, CompBio <rog...@cs...> wrote: > BTW, the reason I specify a PDF backend is because I thought it would tell > matplotlib not to try to use anything else "behind the scenes" such as an > X-window display. It's working the way I want now, so I assume that's what > it's doing. But at others have pointed out, your code is unnecessarily complex. Just do import matplotlib matplotlib.use('agg') import pylab and when you call savefig, you can pass ps, eps, pdf, png or svg and the mpl code will choose the right backend, and never launch a GUI. JDH
Thanks for your fast response -- faster than I could post a follow-up. You're right about the stack trace. It occurred to me after I posted that I should look to see exactly where the exception was triggered. As it turned out, I'd added a new module a few days ago and wasn't careful about where I added the import. Here at work it didn't make a difference, but launching from home... Once I reordered the new import the error disappeared. BTW, the reason I specify a PDF backend is because I thought it would tell matplotlib not to try to use anything else "behind the scenes" such as an X-window display. It's working the way I want now, so I assume that's what it's doing. Benjamin Root-2 wrote: > > On Thursday, September 1, 2011, CompBio <rog...@cs...> wrote: >> >> I'm trying to get a script to work in batch mode to produce a large >> number > of >> plots. I've got the following sequence of imports in a matplotlib Python >> script: >> >> import matplotlib, os, sys >> ... >> if file_ext == 'png' : >> sys.stderr.write('Using PNG output format\n') >> matplotlib.use('agg') >> elif file_ext == 'pdf' : >> sys.stderr.write('Using PDF output format\n') >> matplotlib.use('PDF') >> >> from pylab import * >> >> ... remainder of plotting code ... >> >> At first this appeared to work without any problems. I could kick off a > job >> in background, log off the machine and return later when all the graphs > had >> been produced. >> >> Now I get this RuntimeError exception. Is there anything else I need to > do >> to convince matplotlib that it doesn't need my local display? >> >> thanks! >> -- > > Without the stack trace, it would be hard to tell. Plus, there is already > logic in the backends to switch to PDF and such for saving files. It > should > only be necessary to set the backend to AGG if you want a headless batch > script. > > Ben Root > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/RuntimeError%3A-could-not-open-display-tp32380449p32381582.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On 09/01/2011 05:37 AM, CompBio wrote: > > I'm trying to get a script to work in batch mode to produce a large number of > plots. I've got the following sequence of imports in a matplotlib Python > script: Is the script being run standalone, from a shell, and are the following the very first imports? > > import matplotlib, os, sys > ... > if file_ext == 'png' : > sys.stderr.write('Using PNG output format\n') > matplotlib.use('agg') > elif file_ext == 'pdf' : > sys.stderr.write('Using PDF output format\n') > matplotlib.use('PDF') As Ben notes, you don't need the above logic to choose between agg and pdf; but you are correct in choosing a non-interactive backend before any import of pylab or pyplot. That should be enough to prevent any subsequent attempt to open a display. I'll bet the problem is that when the code above is run, file_ext is neither 'png' nor 'pdf', so matplotlib.use is not being executed. > > from pylab import * > And at this point pylab is simply setting the default (interactive) backend. > ... remainder of plotting code ... > > At first this appeared to work without any problems. I could kick off a job > in background, log off the machine and return later when all the graphs had > been produced. > > Now I get this RuntimeError exception. Is there anything else I need to do > to convince matplotlib that it doesn't need my local display? No--you just have to make sure that a non-interactive backend is getting set before the first pylab or pyplot import. Eric > > thanks!
On Thursday, September 1, 2011, CompBio <rog...@cs...> wrote: > > I'm trying to get a script to work in batch mode to produce a large number of > plots. I've got the following sequence of imports in a matplotlib Python > script: > > import matplotlib, os, sys > ... > if file_ext == 'png' : > sys.stderr.write('Using PNG output format\n') > matplotlib.use('agg') > elif file_ext == 'pdf' : > sys.stderr.write('Using PDF output format\n') > matplotlib.use('PDF') > > from pylab import * > > ... remainder of plotting code ... > > At first this appeared to work without any problems. I could kick off a job > in background, log off the machine and return later when all the graphs had > been produced. > > Now I get this RuntimeError exception. Is there anything else I need to do > to convince matplotlib that it doesn't need my local display? > > thanks! > -- Without the stack trace, it would be hard to tell. Plus, there is already logic in the backends to switch to PDF and such for saving files. It should only be necessary to set the backend to AGG if you want a headless batch script. Ben Root
I'm trying to get a script to work in batch mode to produce a large number of plots. I've got the following sequence of imports in a matplotlib Python script: import matplotlib, os, sys ... if file_ext == 'png' : sys.stderr.write('Using PNG output format\n') matplotlib.use('agg') elif file_ext == 'pdf' : sys.stderr.write('Using PDF output format\n') matplotlib.use('PDF') from pylab import * ... remainder of plotting code ... At first this appeared to work without any problems. I could kick off a job in background, log off the machine and return later when all the graphs had been produced. Now I get this RuntimeError exception. Is there anything else I need to do to convince matplotlib that it doesn't need my local display? thanks! -- View this message in context: http://old.nabble.com/RuntimeError%3A-could-not-open-display-tp32380449p32380449.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Hi: I am having problems with the \dagger LaTex symbol. The following code import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.title(r'$ \dagger $') plt.show() produce a long Traceback that ends in File "/usr/lib/pymodules/python2.6/matplotlib/mathtext.py", line 1997, in raise_error raise ParseFatalException(msg + "\n" + s) ParseFatalException: Expected end of math '$' $ \dagger $ (at char 0), (line:1, col:1) Other LaTex symbols works OK. For instance, if I use plt.title(r'$ \diamond $') instead, it works. I checked in mathtext.py, and \dagger is in the list of symbols. I am running Matplotlib '0.99.1.1'. Any idea about this problem? Alejandro.
Apologies -- I should have read the subject line! :) On 1 September 2011 14:00, Carlos Grohmann <car...@gm...>wrote: > Hello Robert, > > Thank you for your kind response, but I'm looking into py2app, for Mac OSX, > and it is a bit different than py2exe. I do have a py2exe script working > (lots of examples around), but I'm still a bit lost on the Mac-related > stuff. > > cheers > > Carlos > > > On Thu, Sep 1, 2011 at 05:34, Robert Sudwarts <rob...@gm...>wrote: > >> Hi Carlos, >> >> It's a bit tricky giving you a complete example as the specifics will vary >> considerably depending on which versions of python, matplotlib & wx you're >> using: >> >> I'd point you toward the wxPyWiki page at: >> http://wiki.wxpython.org/py2exe-python26 which gives a pretty sound >> example based on an output produced by GUI2Exe (written by Andrea Gavana) >> >> As for matplotlib specifically, see: >> http://www.py2exe.org/index.cgi/MatPlotLib (again depending very much on >> the versions you're using), I've found that the first example given works >> perfectly. >> >> Hope that helps! >> >> >> >> >> >> On 1 September 2011 04:42, Carlos Grohmann <car...@gm...>wrote: >> >>> Hello all. >>> >>> I've been looking for a good example of setup.py to build a bundle app >>> with wxpython+matplotlib. >>> Can someone share or point me in a direction? >>> >>> thanks >>> >>> -- >>> Prof. Carlos Henrique Grohmann - Geologist D.Sc. >>> Institute of Geosciences - Univ. of São Paulo, Brazil >>> http://www.igc.usp.br/pessoais/guano >>> http://lattes.cnpq.br/5846052449613692 >>> Linux User #89721 >>> ________________ >>> Can’t stop the signal. >>> >>> >>> ------------------------------------------------------------------------------ >>> Special Offer -- Download ArcSight Logger for FREE! >>> Finally, a world-class log management solution at an even better >>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you >>> download Logger. Secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsisghtdev2dev >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> > > > -- > Prof. Carlos Henrique Grohmann - Geologist D.Sc. > Institute of Geosciences - Univ. of São Paulo, Brazil > http://www.igc.usp.br/pessoais/guano > http://lattes.cnpq.br/5846052449613692 > Linux User #89721 > ________________ > Can’t stop the signal. >
Hello Robert, Thank you for your kind response, but I'm looking into py2app, for Mac OSX, and it is a bit different than py2exe. I do have a py2exe script working (lots of examples around), but I'm still a bit lost on the Mac-related stuff. cheers Carlos On Thu, Sep 1, 2011 at 05:34, Robert Sudwarts <rob...@gm...>wrote: > Hi Carlos, > > It's a bit tricky giving you a complete example as the specifics will vary > considerably depending on which versions of python, matplotlib & wx you're > using: > > I'd point you toward the wxPyWiki page at: > http://wiki.wxpython.org/py2exe-python26 which gives a pretty sound > example based on an output produced by GUI2Exe (written by Andrea Gavana) > > As for matplotlib specifically, see: > http://www.py2exe.org/index.cgi/MatPlotLib (again depending very much on > the versions you're using), I've found that the first example given works > perfectly. > > Hope that helps! > > > > > > On 1 September 2011 04:42, Carlos Grohmann <car...@gm...>wrote: > >> Hello all. >> >> I've been looking for a good example of setup.py to build a bundle app >> with wxpython+matplotlib. >> Can someone share or point me in a direction? >> >> thanks >> >> -- >> Prof. Carlos Henrique Grohmann - Geologist D.Sc. >> Institute of Geosciences - Univ. of São Paulo, Brazil >> http://www.igc.usp.br/pessoais/guano >> http://lattes.cnpq.br/5846052449613692 >> Linux User #89721 >> ________________ >> Can’t stop the signal. >> >> >> ------------------------------------------------------------------------------ >> Special Offer -- Download ArcSight Logger for FREE! >> Finally, a world-class log management solution at an even better >> price-free! And you'll get a free "Love Thy Logs" t-shirt when you >> download Logger. Secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsisghtdev2dev >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoais/guano http://lattes.cnpq.br/5846052449613692 Linux User #89721 ________________ Can’t stop the signal.
Hi Carlos, It's a bit tricky giving you a complete example as the specifics will vary considerably depending on which versions of python, matplotlib & wx you're using: I'd point you toward the wxPyWiki page at: http://wiki.wxpython.org/py2exe-python26 which gives a pretty sound example based on an output produced by GUI2Exe (written by Andrea Gavana) As for matplotlib specifically, see: http://www.py2exe.org/index.cgi/MatPlotLib (again depending very much on the versions you're using), I've found that the first example given works perfectly. Hope that helps! On 1 September 2011 04:42, Carlos Grohmann <car...@gm...>wrote: > Hello all. > > I've been looking for a good example of setup.py to build a bundle app with > wxpython+matplotlib. > Can someone share or point me in a direction? > > thanks > > -- > Prof. Carlos Henrique Grohmann - Geologist D.Sc. > Institute of Geosciences - Univ. of São Paulo, Brazil > http://www.igc.usp.br/pessoais/guano > http://lattes.cnpq.br/5846052449613692 > Linux User #89721 > ________________ > Can’t stop the signal. > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
Hello all. I've been looking for a good example of setup.py to build a bundle app with wxpython+matplotlib. Can someone share or point me in a direction? thanks -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoais/guano http://lattes.cnpq.br/5846052449613692 Linux User #89721 ________________ Can’t stop the signal.
On 08/31/2011 01:59 PM, Benjamin Root wrote: > On Wed, Aug 31, 2011 at 6:35 PM, Craig Finch <cf...@ie... > <mailto:cf...@ie...>> wrote: > > I figured it out! I accidentally did something weird. When I built > NumPy and SciPy, I used the --user option to tell distutils to build > them in my home directory. I had not realized that --user installs > the packages in ~/.local/lib/python2.7/site-packages/. I was > assuming they would be installed in ~/lib/python2.7/site-packages, > but I didn't notice they were "missing" until just now. When I > reinstalled NumPy and Scipy using the option --prefix=/home/cfinch > and then rebuilt matplotlib, everything started working. I didn't > have to rebuild pycairo or pygtk; I just had to get everything in > the same location. This is the first I've heard of installing > anything in a .local directory...why is that even an option??? > > Thanks for your help! > > > It is a standard directory in linux now. Started by the freedesktop.org > <http://freedesktop.org>, I think. Personally, I prefer it over having > ~/lib, ~/bin and such cluttering my home directory. > > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html Aha! So that's where .config came from, also. IPython is using it; I suppose we should, too. Eric > > Ben Root > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: > Hello, > > some weeks ago, I recompiled matplotlib to get locale support for > commas, and started to get strange dimension errors while trying > to save the figure. Now here is another error that I think that > is somewhat related to it. When I try to run the script below, > savefig() gives me an IndexError: > > -- > from pylab import * > > a1 = figure(1).add_subplot(111, polar=True) > a1.scatter([ 3.*pi/7. ], [ 0.65 ], color='black', marker='o') > a1.annotate('Target', (3.*pi/7., 0.65), xytext=(3.*pi/7., 0.7)) > savefig("Radar.eps") > > <...long stack...> > IndexError: Unexpected SeqBase<T> length. This is coming from CXX. I am not going to be able to figure out what the problem is, but those who are (the C++ wizards) will probably want to see the full stack trace, as well as the matplotlib version and the compilation parameters: platform, compiler, python version, etc. The first part of the output from setup.py build has all that. Eric > --- > > This is in the savefig() function again, and this is related to > text, since the error disappear if I remove the annotation. But > I think I can affirm, with a great degree of certainty, that this > happens because I recompiled matplotlib: this is an old script > that wouldn't give me any error before. > > So, I'm probably missing some dependency, but the setup.py script > won't tell me what is missing, and the only warning I get during > compilation is the -Wstrict_prototypes one. > > Actually, I am happy to find out this, since it was probably > a configuration problem that generated the errors (and matplotlib > source is ok). But if anyone can give me any clue on how to solve > this, that would be greatly appreciated. > > --- > José Alexandre Nalon > na...@te...
On 8/31/2011 8:08 PM, Jae-Joon Lee wrote: > Can you file an github issue for this? https://github.com/matplotlib/matplotlib/issues/448 Thanks!
On Thu, Sep 1, 2011 at 7:21 AM, Alan G Isaac <ala...@gm...> wrote: > On 8/31/2011 5:48 PM, Alan G Isaac wrote: >> How can I change font properties of a legend title? > > > Related question: would it be a reasonable suggestion for > Legend.set_title to take a ``prop`` argument? > > Alan Isaac Can you file an github issue for this? Regards, -JJ > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
l = legend() l.get_title().set_fontproperties(...) -JJ On Thu, Sep 1, 2011 at 6:48 AM, Alan G Isaac <ala...@gm...> wrote: > How can I change font properties of a legend title? > > Thanks, > Alan Isaac > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
On Wed, Aug 31, 2011 at 6:35 PM, Craig Finch <cf...@ie...> wrote: > I figured it out! I accidentally did something weird. When I built NumPy > and SciPy, I used the --user option to tell distutils to build them in my > home directory. I had not realized that --user installs the packages in > ~/.local/lib/python2.7/site-packages/. I was assuming they would be > installed in ~/lib/python2.7/site-packages, but I didn't notice they were > "missing" until just now. When I reinstalled NumPy and Scipy using the > option --prefix=/home/cfinch and then rebuilt matplotlib, everything started > working. I didn't have to rebuild pycairo or pygtk; I just had to get > everything in the same location. This is the first I've heard of installing > anything in a .local directory...why is that even an option??? > > Thanks for your help! > > It is a standard directory in linux now. Started by the freedesktop.org, I think. Personally, I prefer it over having ~/lib, ~/bin and such cluttering my home directory. http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html Ben Root