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

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,

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: [Matplotlib-users] error, when calling "ax.redraw_in_frame()"

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 3:23 PM, John Hunter wrote: > OK, I just manually added this via a diff/patch.  Keep your eyes out > for flakiness.  I did try a matplotlib.test before committing and got > one error about the hexbin extent so there may be a little cleanup to > do.  I ignored that because n

Re: [Matplotlib-users] error, when calling "ax.redraw_in_frame()"

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 12:21 PM, Michael Droettboom wrote: > Jae-Joon Lee wrote: >> >> I fixed this in the maintenance branch. >> But I'm failing with the svnmerge. >> I thought this issue has been fixed but I'm not sure what I'm doing >> wrong. > > I thought I had fixed it, but it seems to have b

Re: [Matplotlib-users] error, when calling "ax.redraw_in_frame()"

2010-03-03 Thread Michael Droettboom
Jae-Joon Lee wrote: > I fixed this in the maintenance branch. > But I'm failing with the svnmerge. > I thought this issue has been fixed but I'm not sure what I'm doing > wrong. I thought I had fixed it, but it seems to have broken again immediately after. I'm not sure how much additional time I

Re: [Matplotlib-users] error, when calling "ax.redraw_in_frame()"

2010-03-03 Thread Jae-Joon Lee
I fixed this in the maintenance branch. But I'm failing with the svnmerge. I thought this issue has been fixed but I'm not sure what I'm doing wrong. I cannot spend much more time on this right now, but John, if you can, please merge the change and commit them for me. Regards, -JJ On Wed, Mar 3

Re: [Matplotlib-users] error, when calling "ax.redraw_in_frame()"

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 10:09 AM, Matthias Michler wrote: > Hello list, > > I get an error, when calling "ax.redraw_in_frame()" (see below). > > I think this is due to the fact that the draw_wrapper expects args instead of > kwargs for the "draw" of an Axes instance and therefore provide a patch, >

Re: [Matplotlib-users] Error build from SVN on Windows XP

2010-02-25 Thread Christoph Gohlke
You need Visual Studio 2008 (MSVC9) to compile extensions for Python 2.6 on Windows. The Express edition should work . Christoph On 2/25/2010 3:16 PM, Ben Axelrod wrote: > > I am getting the same error. > > Here is my console output:

Re: [Matplotlib-users] Error build from SVN on Windows XP

2010-02-25 Thread Ben Axelrod
I am getting the same error. Here is my console output: C:\Projects\matplotlib>python setup.py build basedirlist is: ['win32_static'] BUILDING MATPLOTLIB matplotlib: 1.0.svn python: 2.6.4 (r2

Re: [Matplotlib-users] Error with 0.99.2 when using Intel Compiler (Linux)

2010-02-01 Thread Matthieu Brucher
Hi again, I've fixed the issue on my box. The issue lies in the definition of the hash_map. For ICC for Linux, the GCC headers should be used. Matthieu 2010/1/29 Matthieu Brucher : > Hi, > > It seems that the compilation of base_format needs a C++ compiler, but > distutils launches icc instead o

Re: [Matplotlib-users] error bar line width in bar function, cap width in errorbar function

2009-10-22 Thread Jae-Joon Lee
On Thu, Oct 22, 2009 at 8:59 AM, Johan Carlin wrote: > 1. Is there a way to change error bar line width directly with the bar > function? Maybe not. It seems that the "bar" function currently does not return errorbar-related artists. You can find them by looking through axes.lines and axes.colle

Re: [Matplotlib-users] error when installing matplotlib -- wx requirement?

2009-10-06 Thread Jouni K . Seppänen
per freem writes: > i am trying to install the recent matplotlib (0.99.1.1) but i am > getting an error about wxPython not being available. The problem is that the tar.gz file includes setup.cfg, and the fix is to delete that file. This is also filed on sourceforge: https://sourceforge.net/tr

Re: [Matplotlib-users] Error in doc?

2009-09-21 Thread Ryan May
On Mon, Sep 21, 2009 at 5:13 AM, Matthias Michler wrote: > On Wednesday 09 September 2009 17:10:43 Jorge Scandaliaris wrote: > > Hi, > > I think I found a bug, but I am not sure if it's in the doc or in a > method > > name. In the doc, there is reference to a method *suptitle* in class > > mpl.fig

Re: [Matplotlib-users] Error in doc?

2009-09-21 Thread Matthias Michler
On Wednesday 09 September 2009 17:10:43 Jorge Scandaliaris wrote: > Hi, > I think I found a bug, but I am not sure if it's in the doc or in a method > name. In the doc, there is reference to a method *suptitle* in class > mpl.figure.Figure. The name sounds strange, but the method exists and > works

Re: [Matplotlib-users] error locating backends module

2009-09-16 Thread Jeff Peery
ib.use('WxAgg') or if it is implied when I import the WxAgg backend. (2) what is the accelerator (3) do I need to call matplotlib.interactive(False) in each module using matplotlib?   thanks for the help! Jeff --- On Mon, 9/14/09, Damon McDougall wrote: From: Damon McDougall Subject

Re: [Matplotlib-users] error locating backends module

2009-09-14 Thread Damon McDougall
Forgot to cc this to the list, sorry about that. Hi Jeff, You don't happen to be in the same directory as a folder called 'matplotlib' when trying to import matplotlib.backends, do you? If so, try moving to a different directory before invoking python and importing matplotlib.backends. R

Re: [Matplotlib-users] Error in mpl.axes.set_default_color_cycle

2009-05-29 Thread Eric Firing
Yannick Copin wrote: > Hi, > > I have an error while trying to use mpl.axes.set_default_color_cycle to > define my own color cycle based on the set1 colormap: > > In [1]: set1 = array([[228,55, 77, 152,255,255,166,247,153], > ...: [26, 126,175,78, 127,255,86, 129,153], > ..

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Jouni K . Seppänen
Michael Droettboom writes: >> $ python setup.py build_ext --inplace >> $ python setupegg.py develop > I have no idea what the second line does either -- and I've always done > just fine without it ;) AFAIK, the second line does the same thing as the first one, and then makes a matplotlib.egg-l

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Tony S Yu
On May 19, 2009, at 8:33 AM, Michael Droettboom wrote: > I have no idea what the second line does either -- and I've always > done just fine without it ;) > > The error message is puzzling, since matplotlib does even use swig > currently. Sorry for the noise; I think you're right: this error

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Michael Droettboom
I have no idea what the second line does either -- and I've always done just fine without it ;) The error message is puzzling, since matplotlib does even use swig currently. Mike Tony S Yu wrote: > Hi, > > I run mpl from the svn trunk, but I ran into a problem today after > pulling the newes

Re: [Matplotlib-users] Error building from source - Ubuntu

2009-05-18 Thread Jouni K . Seppänen
M Uhlenhuth writes: > I'm running into some problems building from source. I'm running > 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 > GNU/Linux. I just checked out revision 7118 from svn. When I run > 'python setup.py build', I get the error I've pasted below. First ru

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
indeed, I obviously just got entangled in my own debugging. I do manage to get it to do what I want now. sorry for the fuss, Johann Eric Firing wrote: > Cohen-Tanugi Johann wrote: >> ok, maybe it is in scale.py :) >> And what I see there confirms my initial fears : the log scale >> transform ap

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Eric Firing
Cohen-Tanugi Johann wrote: > indeed, I obviously just got entangled in my own debugging. I do manage > to get it to do what I want now. > > sorry for the fuss, > Johann No problem at all. I'm glad things are working for you. Eric ---

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
hi Eric, then I misunderstood what the code does I thought it was transforming the data. In any case, my second figure in my previous post is wrong because the code should read: plt.errorbar(cE,corrE*fluxes, yerr=corrE*unc_fluxes) instead of plt.errorbar(cE,corrE*fluxes, yerr=unc_fluxes) and

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Eric Firing
Cohen-Tanugi Johann wrote: > ok, maybe it is in scale.py :) > And what I see there confirms my initial fears : the log scale transform > applies a log to the argument, which is incorrect for an error. So > first of all, another transform needs to be created so that erry is > transformed into

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
ok, maybe it is in scale.py :) And what I see there confirms my initial fears : the log scale transform applies a log to the argument, which is incorrect for an error. So first of all, another transform needs to be created so that erry is transformed into erry/y/log(base) where base was 10 i

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
hello, for the sake of concreteness, here is an example without any limit issues : the python script is attached and the 2 resulting figures as well. The dirst one is drawn using log directly in the arguments, and correctly transforming the y-errors into y-errors/y-values/log(10). In the seco

Re: [Matplotlib-users] error bars on a log log plot

2009-04-03 Thread Michael Droettboom
It looks like you're all heading down the right path. I'm happy to help (as the original author of the transforms code), but I'm going to be generally unavailable until Thursday or Friday of next week. Cheers, Mike Eric Firing wrote: > Cohen-Tanugi Johann wrote: >> I tried to look at the code

Re: [Matplotlib-users] error bars on a log log plot

2009-04-03 Thread Eric Firing
Cohen-Tanugi Johann wrote: > I tried to look at the code (axes.py I presume) in order to attempt a > patch, but it defeated me, I do not have the instructions to navigate > through this code :) > Where is the actual transform of the error bars occurring? I think it is in the draw (or recache) m

Re: [Matplotlib-users] error bars on a log log plot

2009-04-02 Thread Cohen-Tanugi Johann
hello. Anyone? I would very much love to see this fixed, and I am ready to help out, but I do not know how to browse through the code. Despite the fact that log(errors) should of course not be used, but rathter errors/values/log(10), Michael's point still remains : values- errors in log sca

Re: [Matplotlib-users] error bars on a log log plot

2009-04-01 Thread Cohen-Tanugi Johann
I tried to look at the code (axes.py I presume) in order to attempt a patch, but it defeated me, I do not have the instructions to navigate through this code :) Where is the actual transform of the error bars occurring? thanks, Johann Michael Droettboom wrote: > I have to say I don't really hav

  1   2   3   >