Re: [Matplotlib-users] Error when importing pyplot from matplotlib: »invalid literal for float(): 19#«

2015-08-10 Thread Thomas Caswell
Also try deleting your font cache. Have you tried with the master branch? Tom On Mon, Aug 10, 2015 at 9:21 AM Benjamin Root wrote: > I don't know for certain, but perhaps the font-forge program has a repair > utility? http://fontforge.github.io/en-US/ > > On Sat, Aug 8, 2015 at 5:51 AM, knight

Re: [Matplotlib-users] Error when importing pyplot from matplotlib: »invalid literal for float(): 19#«

2015-08-10 Thread Benjamin Root
I don't know for certain, but perhaps the font-forge program has a repair utility? http://fontforge.github.io/en-US/ On Sat, Aug 8, 2015 at 5:51 AM, knight91 wrote: > Okay, is there a way to get an afm font file with a nicely formed header? > How > could I try to solve this problem? > > > Thomas

Re: [Matplotlib-users] Error when importing pyplot from matplotlib: »invalid literal for float(): 19#«

2015-08-08 Thread knight91
Okay, is there a way to get an afm font file with a nicely formed header? How could I try to solve this problem? Thomas Caswell wrote > You have an afm font file with a badly formed header. I thought this was > fixed on the master branch though > > On Fri, Aug 7, 2015 at 4:51 PM knight91 <

Re: [Matplotlib-users] Error when importing pyplot from matplotlib: »invalid literal for float(): 19#«

2015-08-07 Thread Thomas Caswell
You have an afm font file with a badly formed header. I thought this was fixed on the master branch though On Fri, Aug 7, 2015 at 4:51 PM knight91 wrote: > Python claims to be unable to import pyplot. Apart from that, it has been > running absolutely fine. > > I tried different versions of

[Matplotlib-users] Error when importing pyplot from matplotlib: »invalid literal for float(): 19#«

2015-08-07 Thread knight91
Python claims to be unable to import pyplot. Apart from that, it has been running absolutely fine. I tried different versions of matplotlib, the one provided in my package manager (apt-get) and two (stable & last stable) releases compiled from source. I reinstalled all packages containting "python

Re: [Matplotlib-users] Error on gridspec.py

2015-05-24 Thread Thomas Caswell
Jan, If you subscribe to the user list you will be able to post with out moderation. Can you point us to which example you are running? From what you have sent is is very hard to sort out what is going wrong as we have to guess what you are doing. Tom On Sun, May 24, 2015 at 1:38 PM Albrecht,

[Matplotlib-users] Error on gridspec.py

2015-05-24 Thread Albrecht, Jan
Hi dear all, I have installed matplot and also six.py and so on. If i start an example from matplot i get the following eror message: File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 1087, in subplots ax0 = fig.add_subplot(gs[0, 0], **subplot_kw) File "C:\Python26\lib\site-

Re: [Matplotlib-users] error import matplotlib.pyplot

2014-12-12 Thread Benjamin Root
The best I can guess is that this is a bad binary build. Is SUSE repository tracking the development branch of matplotlib or the stable release? What version of matplotlib does zypper say it installed? On Mon, Dec 8, 2014 at 2:37 PM, ahtos wrote: > > zypper ~ apt-get > It did install binaries fro

Re: [Matplotlib-users] error import matplotlib.pyplot

2014-12-08 Thread ahtos
zypper ~ apt-get It did install binaries from a Novell repository. I checked for previous installed and I could not find anything. cheers -- View this message in context: http://matplotlib.1069221.n5.nabble.com/error-import-matplotlib-pyplot-tp44297p44572.html Sent from the matplotlib - users

Re: [Matplotlib-users] error import matplotlib.pyplot

2014-11-07 Thread Benjamin Root
I am unfamiliar with zypper (seems to be a package manager of some sort). Does it build the binaries from source on your system, or does it just install binaries from a repository? Was there an existing install of matplotlib? Cheers! Ben Root On Thu, Nov 6, 2014 at 4:04 PM, ahtos wrote: > Impor

[Matplotlib-users] error import matplotlib.pyplot

2014-11-06 Thread ahtos
ImportError: /usr/lib64/python2.6/site-packages/matplotlib/backends/_backend_agg.so: undefined symbol: MPL_matplotlib__path_ARRAY_API SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 3 Python 2.6.9 GCC 4.3.4 numpy 1.8.0 installed through zypper thanks, -- View this mes

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
iro' object has no attribute 'canvas' From: Thomas Caswell [tcasw...@gmail.com] Sent: 15 September 2014 13:38 To: Briggs,KM,Keith,TUB2 R Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Error in atexit._run_exitfunc

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Error in atexit._run_exitfuncs Can you provide a minimal example that will trigger the bug? >From the description you have given we don't have enough information to >diagnose the problem. Ben thinks this is related to some long

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
> plt.matshow([[0.0]]) > > It crashes with the FigureManagerGTK3Cairo error. > Keith > > > -Original Message- > From: Thomas Caswell [mailto:tcasw...@gmail.com] > Sent: 15 September 2014 13:23 > To: Briggs,KM,Keith,TUB2 R > Cc: matplotlib-users@lists.sourceforge.n

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
Can you provide a minimal example that will trigger the bug? >From the description you have given we don't have enough information to diagnose the problem. Ben thinks this is related to some long-standing issues, if you could help us track them down it would be greatly appreciated. Tom On Mon,

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keithbriggs
I am still getting this error, this time with matplotlib.pyplot.matshow, and I do not get any plot. This bug really needs to be fixed! -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Error-in-atexit-run-exitfuncs-tp43566p43947.html Sent from the matplotlib - users mai

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-06-25 Thread Benjamin Root
What it means, specifically, is that one (or more) figure objects still in memory at the time of exiting the python interpretor are missing the expected canvas attribute. I see this happen in various backends from time to time. The best I can figure is that somehow, the destructor for the figure ha

[Matplotlib-users] Error in atexit._run_exitfuncs

2014-06-25 Thread keith.briggs
I am running matplotlib 1.3.1 under Ubuntu 13 and python3. Everything works fine, but I get this message every time: Error in atexit._run_exitfuncs: AttributeError: 'FigureManagerGTK3Cairo' object has no attribute 'canvas' What does it mean, and how do I stop it? Keith --

Re: [Matplotlib-users] Error installing matplotlib

2013-11-18 Thread Cristóbal Ganter
> Can you import and run numpy on the system in question? No, I cant: >>> import numpy GotoBLAS : Architecture Initialization failed. No initialization function found. Thanks for the suggestion! -- Shape the Mob

Re: [Matplotlib-users] Error installing matplotlib

2013-11-18 Thread Eric Firing
On 2013/11/18 1:09 PM, Cristóbal Ganter wrote: > Hi I'm trying to install matplotlib in debian wheezy. But I get the > following error: > GotoBLAS : Architecture Initialization failed. No initialization function > found. > I can't find anything useful in google. Matplotlib doesn't know about blas

[Matplotlib-users] Error installing matplotlib

2013-11-18 Thread Cristóbal Ganter
Hi I'm trying to install matplotlib in debian wheezy. But I get the following error: GotoBLAS : Architecture Initialization failed. No initialization function found. I can't find anything useful in google. You can find more details of my question in: http://stackoverflow.com/questions/20058653/got

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
> > From: Benjamin Root >To: Michael Rawlins >Cc: Matplotlib Users >Sent: Thursday, September 27, 2012 2:29 PM >Subject: Re: [Matplotlib-users] error reading netcdf file > > >Michael, > >The .missing_value attribute is not us

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Benjamin Root
Michael, The .missing_value attribute is not used anymore (It is ._FillValue now). Anyway, if your data had any value that matched ._FillValue, then, by default, netCDF4 will give you a masked array anyway. You will only need to set the mask if the fill value doesn't exist or if it is different f

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
- Original Message - > From: Michael Rawlins > To: Jeff Whitaker ; Benjamin Root > ; Matplotlib Users > Cc: > Sent: Wednesday, September 26, 2012 6:23 PM > Subject: Re: [Matplotlib-users] error reading netcdf file > > > >> ___

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Benjamin Root ; Michael Rawlins ; >Matplotlib Users >Sent: Wednesday, September 26, 2012 5:10 PM >Subject: Re: [Matplotlib-users] error reading netcdf file > > >Michael:  You can't change an attri

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Jeff Whitaker
*To:* Michael Rawlins mailto:rawlin...@yahoo.com>> *Cc:* "matplotlib-users@lists.sourceforge.net <mailto:matplotlib-users@lists.sourceforge.net>" mailto:matplotlib-users@lists.sourceforge.net>> *Sent:* Wednesday, September 26, 2012 10:33

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Benjamin Root
, September 26, 2012 10:33 AM > *Subject:* Re: [Matplotlib-users] error reading netcdf file > > > > On Wed, Sep 26, 2012 at 10:27 AM, Michael Rawlins wrote: > > Recently built and installed netCDF4-1.0. I'm running a script that has > worked on two other linux OS syst

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
> > From: Benjamin Root >To: Michael Rawlins >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Wednesday, September 26, 2012 10:33 AM >Subject: Re: [Matplotlib-users] error reading netcdf file > > > > &

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Benjamin Root
On Wed, Sep 26, 2012 at 10:27 AM, Michael Rawlins wrote: > Recently built and installed netCDF4-1.0. I'm running a script that has > worked on two other linux OS systems. Error: > > File "test.py", line 96, in > data.missing_value=-9.99 > File "netCDF4.pyx", line 2570, in netCDF4.Variable.

[Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
Recently built and installed netCDF4-1.0.  I'm running a script that has worked on two other linux OS systems. Error: File "test.py", line 96, in     data.missing_value=-9.99   File "netCDF4.pyx", line 2570, in netCDF4.Variable.__setattr__ (netCDF4.c:28242)   File "netCDF4.pyx", line 2392, in n

Re: [Matplotlib-users] error installing basemap

2012-09-18 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap Michael:  The NetCDFFile function was deprecated a few releases

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap Michael:  The NetCDFFile function was deprecated a few releases

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap On 9/13/12 2:34 PM, Michael Rawlins wrote

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Jeff Whitaker
On 9/13/12 2:34 PM, Michael Rawlins wrote: *From:* Michael Droettboom *To:* matplotlib-users@lists.sourceforge.net *Sent:* Thursday, September 13, 2012 2:09 PM *Subject:* Re: [Matplotlib-users] error installing basemap

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom To: matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 2:09 PM Subject: Re: [Matplotlib-users] error installing basemap You need to also install the python development package (python-dev), which contains

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom To: matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 2:09 PM Subject: Re: [Matplotlib-users] error installing basemap You need to also install the python development package (python-dev), which contains

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Droettboom
You need to also install the python development package (python-dev), which contains the headers. Mike On 09/13/2012 02:06 PM, Michael Rawlins wrote: Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py

[Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py install from the basemap directory. src/_proj.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: Command "gcc -pt

[Matplotlib-users] Error autoscaling histogram with histtype='step'

2012-04-18 Thread Joshua Lande
I am running into problems where histograms are not autoscaling correctly. I have filed a bug report on github: https://github.com/matplotlib/matplotlib/issues/841 Below is a copy of the github bug report: --- I am running into problems where histograms are not autoscaling correctly. Below is

[Matplotlib-users] error with matplotlib installation

2012-03-27 Thread Ana
Hi! I am trying to install the matplotlib in my pc with the following configuration Windows 7, 64 python2.6.6 >>> numpy.__version__ '1.6.1' >>> matplotlib.__version__ '1.1.0' once i try to test the code i get the following error fir matplotlib: >>> import numpy >>> import numpy as np >>> import

[Matplotlib-users] error bars showing color maps

2012-03-12 Thread Alberto Domínguez Díaz
Dear matplotlib-users, I was wondering if it is possible to plot with matplotlib an errorbar figure using color maps. Basically, I want to get a similar plot to scatter(x,y,c=z,cmap=cmap) where z is an array of numbers, but with the error bars showing the same color than their data points. Any ide

Re: [Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-09 Thread Alejandro Weinstein
On Thu, Mar 8, 2012 at 12:45 PM, Jouni K. Seppänen wrote: > Alejandro Weinstein writes: > >> TypeError: unicode argument expected, got 'str' >> I am using MPL verion 1.2.x (built from commit 396a6446). > > That reminds me of a problem fixed in commit 680edf7, so could you > either try cherry-pick

Re: [Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-08 Thread Jouni K . Seppänen
Alejandro Weinstein writes: > TypeError: unicode argument expected, got 'str' > I am using MPL verion 1.2.x (built from commit 396a6446). That reminds me of a problem fixed in commit 680edf7, so could you either try cherry-picking that commit or updating to a later revision? Your test case doesn

[Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-06 Thread Alejandro Weinstein
Hi: I am getting an error when I save a figure as PDF with a particular configuration and when I use a greek latex leter (say $\alpha$) as a ylabel. The following code illustrates the problem. ### import matplotlib.pyplot as plt import matplotlib as mpl

[Matplotlib-users] Error with boxplot() and "infinite" whiskers

2011-10-18 Thread Eric O LEBIGOT (EOL)
The following boxplot raises a warning: >>> boxplot([1], whis=float('inf')) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes.py:5487: RuntimeWarning: invalid value encountered in double_scalars hi_val = q3 + whis*iq I think that it would b

Re: [Matplotlib-users] Error when zooming manually with the mouse outside of the axes

2011-09-27 Thread Eric O LEBIGOT (EOL)
Paul Ivanov wrote: > > Hi Eric, > > This problem was fixed by 2c924046 (Jim Radford 2011-03-08 15:07:23 -0800 > 459) > and now reads: > > self.canvas.set_rubberband(int(x0), int(y0), int(x1), int(y1)) > > Please update either that line alone, or checkout the latest > matplotlib sources fr

Re: [Matplotlib-users] Error when zooming manually with the mouse outside of the axes

2011-09-24 Thread Paul Ivanov
Hi Eric, On Wed, Sep 21, 2011 at 9:11 AM, Eric O LEBIGOT (EOL) wrote: > With the Mac OS X backend (at least…), error messages are repeatedly printed > when the mouse leaves the axes rectangle: > >  File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mat

[Matplotlib-users] Error when zooming manually with the mouse outside of the axes

2011-09-21 Thread Eric O LEBIGOT (EOL)
With the Mac OS X backend (at least…), error messages are repeatedly printed when the mouse leaves the axes rectangle: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 1625, in mo

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-09-05 Thread Eric Firing
On 09/05/2011 08:29 AM, José Alexandre Nalon wrote: > Hello, > > Em 01/09/2011, às 00:16, Eric Firing escreveu: > >> On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: >>> Hello, >>> >>> some weeks ago, I recompiled matplotlib to get locale support for >>> commas, <...> >> >> This is coming from C

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-09-05 Thread José Alexandre Nalon
Hello, Em 01/09/2011, às 00:16, Eric Firing escreveu: > On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: >> Hello, >> >> some weeks ago, I recompiled matplotlib to get locale support for >> commas, <...> > > This is coming from CXX. > > I am not going to be able to figure out what the probl

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-08-31 Thread Eric Firing
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

[Matplotlib-users] Error probably due to misconfiguration

2011-08-31 Thread José Alexandre Nalon
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:

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-22 Thread Jeff Klukas
On Sun, Aug 21, 2011 at 1:01 PM, Jouni K. Seppänen wrote: > Jeff Klukas writes: > >>   File >> "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py", >> line 727, in _register >>     assert encoding is None >> AssertionError > > This sounds like thi

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-21 Thread Jouni K . Seppänen
Jeff Klukas writes: > File > "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py", > line 727, in _register > assert encoding is None > AssertionError This sounds like this issue: https://github.com/matplotlib/matplotlib/issues/191 There is

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-17 Thread Damon McDougall
>> Hi Jeff, >> >> I am able to run the tex_demo.py with no problems and I can create >> >> output files using the Agg backend. When I try to use the PDF >> >> backend, however, I get an error which stems from dviread.py (pasted >> >> below). Any thoughts on what could be going wrong? >> >> T

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-17 Thread Jeff Klukas
On Tue, Aug 16, 2011 at 4:22 AM, Damon McDougall wrote: > Hi Jeff, > > I am able to run the tex_demo.py with no problems and I can create > > output files using the Agg backend.  When I try to use the PDF > > backend, however, I get an error which stems from dviread.py (pasted > > below).  Any tho

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-16 Thread Damon McDougall
>> Hi Jeff, >> >> I am able to run the tex_demo.py with no problems and I can create >> >> output files using the Agg backend. When I try to use the PDF >> >> backend, however, I get an error which stems from dviread.py (pasted >> >> below). Any thoughts on what could be going wrong? >> >> T

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-15 Thread Jeff Klukas
On Mon, Aug 15, 2011 at 10:00 PM, Damon McDougall wrote: > Hi Jeff, > > I am able to run the tex_demo.py with no problems and I can create > > output files using the Agg backend.  When I try to use the PDF > > backend, however, I get an error which stems from dviread.py (pasted > > below).  Any th

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-15 Thread Damon McDougall
>> Hi Jeff, >> >> I am able to run the tex_demo.py with no problems and I can create >> output files using the Agg backend. When I try to use the PDF >> backend, however, I get an error which stems from dviread.py (pasted >> below). Any thoughts on what could be going wrong? >> >> Thanks! >> Je

[Matplotlib-users] Error with PDF output with usetex

2011-08-15 Thread Jeff Klukas
Hello all, I am running Mac OS X 10.7 Lion with matplotlib 1.0.1 and the MacTex 2011 distrubution. I am able to run the tex_demo.py with no problems and I can create output files using the Agg backend. When I try to use the PDF backend, however, I get an error which stems from dviread.py (pasted

[Matplotlib-users] Error with loading wxPython says require >=2.8 which I already have installed.

2011-05-20 Thread Jeffrey Spencer
I have this error. I am running 2.6.5 Python and compiled myself the SVN maybe two weeks ago. The issue came when I tried to compile a version of 2.6.6 using the tcmalloc library. I compiled my own version of Python but had some issues with external packages. I removed 2.6.6 for now. Then I get

[Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-09 Thread Kaushik Kalyanaraman
Dear List, I use Matplotlib bundled with the Enthought Python Distribution (EPD) (both 32-bit and 64-bit versions). After a recent update, I find that my Python code (run either in a iPython shell or in bash shell) crashes while attempting to save figures to pdf files using savefig(). However,

Re: [Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-08 Thread Kaushik Kalyanaraman
Hello Eric, Thanks to you, the problem is resolved! > No, I don't think this is a bug in matplotlib; there are many mpl users, > and at least to some extent some devs, who use Macs, so if this were a > general bug in 1.0.1 it would have turned up long ago. Since you were convinced that mpl i

Re: [Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-08 Thread Eric Firing
On 05/08/2011 11:42 AM, Kaushik Kalyanaraman wrote: > Hello Eric, > > Thanks for your reply and suggestions! > >> Do you see the problem with any plot at all? E.g., > >> Can you eliminate all traces of EPD, and then just cleanly install one >> version, and see if the problem still appears? > > I

Re: [Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-08 Thread Kaushik Kalyanaraman
Hello Eric, Thanks for your reply and suggestions! > Do you see the problem with any plot at all? E.g., > Can you eliminate all traces of EPD, and then just cleanly install one > version, and see if the problem still appears? I cleanly installed EPD. Now, with only a single version (EPD 7.0-2,

Re: [Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-08 Thread Eric Firing
On 05/08/2011 08:58 AM, Kaushik Kalyanaraman wrote: > Dear List, > > I use Matplotlib bundled with the Enthought Python Distribution (EPD) (both > 32-bit and 64-bit versions). After a recent update, I find that my Python > code (run either in a iPython shell or in bash shell) crashes while > att

[Matplotlib-users] Error saving to pdf with savefig on Mac OS X 10.6.7 (Snow Leopard)

2011-05-08 Thread Kaushik Kalyanaraman
Dear List, I use Matplotlib bundled with the Enthought Python Distribution (EPD) (both 32-bit and 64-bit versions). After a recent update, I find that my Python code (run either in a iPython shell or in bash shell) crashes while attempting to save figures to pdf files using savefig(). However,

Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Søren Nielsen
Thanks for info Goyo and Ben! 2011/3/11 Benjamin Root > > > 2011/3/10 Søren Nielsen > >> Hi, >> >> >> When I do an errorbar plot (a.errorbar(), a = axis) with negative values >> and then try to change the yscale to log (a.set_yscale('log')) matplotlib >> crashes with: >> >> Traceback (most re

Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Benjamin Root
2011/3/10 Søren Nielsen > Hi, > > When I do an errorbar plot (a.errorbar(), a = axis) with negative values > and then try to change the yscale to log (a.set_yscale('log')) matplotlib > crashes with: > > Traceback (most recent call last): > File > "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-

Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Goyo
2011/3/10 Søren Nielsen : > Is there a way I can get around this without having to search through my > data and remove points that are negative or NaN or INF when the yscale needs > to be log? That would also show an incorrect curve since a line would be > drawn across the points that were removed

[Matplotlib-users] Error when plotting negative values on log scale

2011-03-10 Thread Søren Nielsen
Hi, When I do an errorbar plot (a.errorbar(), a = axis) with negative values and then try to change the yscale to log (a.set_yscale('log')) matplotlib crashes with: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14636, in

Re: [Matplotlib-users] error: Setup script exited with error: command 'gcc' failed with exit status 1

2011-02-22 Thread Benjamin Root
On Tue, Feb 22, 2011 at 2:17 PM, M.Rule wrote: > Hello, I'm having trouble installing Matplotlib. Both easy_install and the > latest svn checkout give similar errors : http://pastebin.com/5g0RsdRx > > any ideas ? > > > --

Re: [Matplotlib-users] error: Setup script exited with error: command 'gcc' failed with exit status 1

2011-02-22 Thread M.Rule
installed: libfreetype6-dev libpng12-dev python-tk libgtk2.0-dev everything seems good, just need to configure GUI backend now, thanks. On Tue, Feb 22, 2011 at 3:22 PM, Darren Dale wrote: > On Tue, Feb 22, 2011 at 3:17 PM, M.Rule wrote: > > Hello, I'm having trouble installing Matplotlib. Bo

Re: [Matplotlib-users] error: Setup script exited with error: command 'gcc' failed with exit status 1

2011-02-22 Thread Darren Dale
On Tue, Feb 22, 2011 at 3:17 PM, M.Rule wrote: > Hello, I'm having trouble installing Matplotlib. Both easy_install and the > latest svn checkout give similar errors : http://pastebin.com/5g0RsdRx > any ideas ? You are missing headers from a number of critical libraries. Try using your package ma

[Matplotlib-users] error: Setup script exited with error: command 'gcc' failed with exit status 1

2011-02-22 Thread M.Rule
Hello, I'm having trouble installing Matplotlib. Both easy_install and the latest svn checkout give similar errors : http://pastebin.com/5g0RsdRx any ideas ? -- Free Software Download: Index, Search & Analyze Logs and othe

Re: [Matplotlib-users] Error on matplotlib with the hist() method [ archlinux ]

2010-11-01 Thread daryl herzmann
On Sun, 31 Oct 2010, David Kremer wrote: > File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", python 2.7 ^^ > RuntimeError: Could not open facefile /usr/lib/python2.6/site- > packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf; Cannot_Open_Resource python 2.6 ^^ I believe

Re: [Matplotlib-users] Error on matplotlib with the hist() method [ archlinux ]

2010-10-31 Thread David Kremer
> On Sun, 31 Oct 2010, David Kremer wrote: > > File > > "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", > > python 2.7 ^^ > > > RuntimeError: Could not open facefile /usr/lib/python2.6/site- > > packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf; Cannot_Open_Resource > > py

[Matplotlib-users] Error on matplotlib with the hist() method [ archlinux ]

2010-10-31 Thread David Kremer
Hello, Im running the last matplotlib version. I just want to plot an histogram. Here is the complete backtrace, complaining about the Vera.ttf font missing : Any idea ? Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 393, i

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, You were right, the error was being cause because this '^' .. problem solved. Thank you very much On Tue, Oct 5, 2010 at 11:38 AM, Benjamin Root wrote: > On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: > >> Benjamin, >> >> I tried this: x, y,

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Benjamin Root
On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Benjamin, > > I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) > > but the error continue: http://pastebin.com/UwgKS3s5 > > Thanks, > Waleria. > > > On Mon, Oct 4, 2010 at 4:58 PM, Benjamin

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) but the error continue: http://pastebin.com/UwgKS3s5 Thanks, Waleria. On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root wrote: > On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote:

Re: [Matplotlib-users] ERROR

2010-10-04 Thread Benjamin Root
On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Hi all, > > My problem is this error: > http://pastebin.com/bfu29WuF > > my code: http://pastebin.com/KzwEmucN > > What could be? > > Thanks > Waleria > Waleria, I am not enti

[Matplotlib-users] ERROR

2010-10-04 Thread Waléria Antunes David
Hi all, My problem is this error: http://pastebin.com/bfu29WuF my code: http://pastebin.com/KzwEmucN What could be? Thanks Waleria -- Virtualization is moving to the mainstream and overtaki

Re: [Matplotlib-users] Error

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 8:07 PM, Ryan May wrote: > On Wed, Sep 15, 2010 at 4:45 PM, Benjamin Root wrote: > > Also, I would be cautious about using both pylab and matplotlib.pyplot in > > the same code. These modules each make different assumptions about how > you > > code and mixing them can ca

Re: [Matplotlib-users] Error

2010-09-15 Thread Ryan May
On Wed, Sep 15, 2010 at 4:45 PM, Benjamin Root wrote: > Also, I would be cautious about using both pylab and matplotlib.pyplot in > the same code.  These modules each make different assumptions about how you > code and mixing them can cause some odd behaviors. Do you have a specific example? pyla

Re: [Matplotlib-users] Error

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 2:29 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Hi, > > My problem is that: http://pastebin.com/ZPzdC5c8 > > but on my code: http://pastebin.com/Rgbm2Fgd > I include the *use* command as a firstline > > what could be? > > Thanks > Waleria > > Waleria, I

[Matplotlib-users] Error

2010-09-15 Thread Waléria Antunes David
Hi, My problem is that: http://pastebin.com/ZPzdC5c8 but on my code: http://pastebin.com/Rgbm2Fgd I include the *use* command as a firstline what could be? Thanks Waleria -- Start uncovering the many advantages of virtu

[Matplotlib-users] Error with backend_wx.py after packaging with py2app

2010-09-02 Thread Myunghwa Hwang
Hello, list! I am trying to create a Mac application package from python modules using matplotlib and wxpython. Before packaging, my code generated only a user warning of multiple calls on matplotlib.use method. When I tried to run the application after packaging with py2app, the application crash

Re: [Matplotlib-users] error AttributeError: 'module' object has no attribute 'use'

2010-07-27 Thread Jae-Joon Lee
On Sun, Jul 25, 2010 at 3:55 PM, Satish Raghunath wrote: >  " AttributeError: 'module' object has no attribute 'use' " It means that the "module" object (matplotlib) has no attribute named "use". This kind of error is often encountered when wrong module is imported as matplotlib. Try import ma

Re: [Matplotlib-users] error AttributeError: 'module' object has no attribute 'use'

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 1:55 AM, Satish Raghunath wrote: > Hi > I am getting this error* > File "aerialvision1.py", line 79, in > import startup > File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py", > line 68, in > import guiclasses > File > "/home/satish/gpgpus

[Matplotlib-users] error AttributeError: 'module' object has no attribute 'use'

2010-07-24 Thread Satish Raghunath
Hi I am getting this error* File "aerialvision1.py", line 79, in import startup File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py", line 68, in import guiclasses File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/guiclasses.py", line 68, in matplotli

Re: [Matplotlib-users] error while installing matplot ImportError: No module named _tkagg

2010-07-23 Thread João Luís Silva
Satish Raghunath wrote: > Hi, > I am using a simulator called aerialvision which uses matplot . I > installed matplot on my Linux machine and now I use the simulator it > gives me an error stating that > > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/tkagg.py", > l

[Matplotlib-users] error while installing matplot ImportError: No module named _tkagg

2010-07-23 Thread Satish Raghunath
Hi, I am using a simulator called aerialvision which uses matplot . I installed matplot on my Linux machine and now I use the simulator it gives me an error stating that File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/tkagg.py", line 1, in import _tkagg ImportError: No m

Re: [Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-24 Thread Mike Anderson
Hi, > Went looking on examples page and found there was a file name demo_image.py > http://matplotlib.sourceforge.net/examples/axes_grid/demo_image.html > > However for whatever reason the source code was not downloadable (404 > error), so I copied it off the html page. I'm not sure why the matpl

Re: [Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-24 Thread Stephen George
Hi Mike, I tried to run it on windows. Got error D:\download\python>demo_axes_grid.py Traceback (most recent call last): File "D:\download\python\demo_axes_grid.py", line 2, in from demo_image import get_demo_image ImportError: No module named demo_image Went looking on examples page an

[Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-23 Thread Mike Anderson
Hi, I'm trying to run a demo example, http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py ran into this problem saying pygtk was needed: $ curl http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py> demo_a

Re: [Matplotlib-users] Error importing pylab

2010-06-06 Thread Tennessee Leeuwenburg
Hi Eric, Thanks for the tip -- I didn't realise that. I had been able to import tkinter, but perhaps only some parts of tkinter exhibit the problem. I worked around the issue by installing matplotlib via rpm since it is only a little behind the curve. It may be that the issue was due to tkagg.so b

Re: [Matplotlib-users] Error importing pylab

2010-06-06 Thread Eric Firing
On 06/06/2010 01:40 PM, Tennessee Leeuwenburg wrote: > Hi all, > > I have what seems to be a small error trying to reference a function in > the compiled tk backend which doesn't exist in the shared object (See > stack trace below). I'm running on a 64-bit system. > > Has anyone else had this issue

[Matplotlib-users] Error importing pylab

2010-06-06 Thread Tennessee Leeuwenburg
Hi all, I have what seems to be a small error trying to reference a function in the compiled tk backend which doesn't exist in the shared object (See stack trace below). I'm running on a 64-bit system. Has anyone else had this issue? Google didn't reveal a lot to me (searching for "undefined symb

[Matplotlib-users] error using LinearSegmentedColormap example from SciPy Cookbook

2010-05-11 Thread Marius 't Hart
Hi all, When creating a new colormap, with a script based on the example given here: http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps When plotting the data, and when adding the colobar, I get this error: In [27]: Exception in Tkinter callback Traceback (most recent call last): File "/u

  1   2   3   >