[Matplotlib-users] TkAfgg window handling bug on MaxOSX

2015-11-18 Thread Daniele Nicolodi
Hello, I use matplotlib 1.5.0 via macports on MacOSX 10.10.5 and I'm testing the TkAgg backend (the MacOSX backend has some annoying bugs). I notice the following strange behavior in a IPython 4.0.0 console: 1. run the following lines: In [1]: %matplotlib tk In [2]: import matplotlib.pyplot

Re: [Matplotlib-users] Marker Edge Width Bug

2015-02-04 Thread Thomas Caswell
This should be fixed in 1.4.3 (which currently has a release candidate out and barring calamities will be released this weekend). On Wed Feb 04 2015 at 9:44:54 AM Aston630 gael.grissonnanc...@gmail.com wrote: Hi, I recently updated Matplotlib from 1.3.1 to 1.4.2, and I observe now a bug that

Re: [Matplotlib-users] Marker Edge Width Bug

2015-02-04 Thread Aston630
Thank you very much for your quick answer. I am looking forward to it. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Marker-Edge-Width-Bug-tp44800p44802.html Sent from the matplotlib - users mailing list archive at Nabble.com.

[Matplotlib-users] Marker Edge Width Bug

2015-02-04 Thread Aston630
Hi, I recently updated Matplotlib from 1.3.1 to 1.4.2, and I observe now a bug that is: when I plot points, meaning 'markers', if I use markeredgewidth = 0, in order to remove the edge of the marker, it was working very well on 1.3.1 version, but now the points are just gone on the Matplotlib

[Matplotlib-users] Qt4Agg backend possible bug

2014-06-05 Thread Jorge Scandaliaris
Hi, I just mentioned this problem with Qt4Agg and python 3.4 in another thread [1], but I decided to post it on a thread of its own, as I suspect it might be a bug in the Qt4Agg backend. I get a NameError exception (see backtrace below) when trying to use key events in matplotlib (master branch

Re: [Matplotlib-users] Qt4Agg backend possible bug

2014-06-05 Thread Jorge Scandaliaris
Jorge Scandaliaris jorgesmbox-ml@... writes: Hi, I just mentioned this problem with Qt4Agg and python 3.4 in another thread [1], but I decided to post it on a thread of its own, as I suspect it might be a bug in the Qt4Agg backend. I get a NameError exception (see backtrace below) when

Re: [Matplotlib-users] Qt4Agg backend possible bug

2014-06-05 Thread V. Armando Solé
On 05/06/2014 15:24, Werner wrote: On 6/5/2014 15:10, Jorge Scandaliaris wrote: Jorge Scandaliaris jorgesmbox-ml@... writes: Hi, I just mentioned this problem with Qt4Agg and python 3.4 in another thread [1], but I decided to post it on a thread of its own, as I suspect it might be a bug in

Re: [Matplotlib-users] Qt4Agg backend possible bug

2014-06-05 Thread Werner
On 6/5/2014 15:45, V. Armando Solé wrote: ... You would use 'six' - https://pypi.python.org/pypi/six it is used by many packages including wxPython. import six if six.PY3: key = chr(event_key) else: key = unichr(event_key) Just for info. I had never heard about six. Is

Re: [Matplotlib-users] Qt4Agg backend possible bug

2014-06-05 Thread Jorge Scandaliaris
Jorge Scandaliaris jorgesmbox-ml@... writes: Hi, I just mentioned this problem with Qt4Agg and python 3.4 in another thread [1], but I decided to post it on a thread of its own, as I suspect it might be a bug in the Qt4Agg backend. I get a NameError exception (see backtrace below) when

Re: [Matplotlib-users] Legend Marker Color Bug

2012-09-05 Thread Sterling Smith
On Sep 4, 2012, at 5:33PM, Jae-Joon Lee wrote: On Wed, Sep 5, 2012 at 6:05 AM, Sterling Smith smit...@fusion.gat.com wrote: I still do not get black markers. Furthermore, if you try to make a new legend with the result of leg.get_lines(), you will get lines without markers, which leads me

Re: [Matplotlib-users] Legend Marker Color Bug

2012-09-04 Thread Sterling Smith
On Aug 31, 2012, at 11:29AM, Goyo wrote: 2012/8/30 Sterling Smith smit...@fusion.gat.com: Thank you for taking the time to consider my question. I'm sorry that I didn't pose my question correctly. I should have said: 'Consider the _results_ of the following script:' I originally tried

Re: [Matplotlib-users] Legend Marker Color Bug

2012-09-04 Thread Jae-Joon Lee
On Wed, Sep 5, 2012 at 6:05 AM, Sterling Smith smit...@fusion.gat.com wrote: I still do not get black markers. Furthermore, if you try to make a new legend with the result of leg.get_lines(), you will get lines without markers, which leads me to the conclusion I stated in my previous email

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-31 Thread Goyo
2012/8/30 Sterling Smith smit...@fusion.gat.com: Thank you for taking the time to consider my question. I'm sorry that I didn't pose my question correctly. I should have said: 'Consider the _results_ of the following script:' I originally tried to attach the results I obtained, which

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Goyo
2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='') pylab.plot(pylab.linspace(0,1,100),label='Test2',marker='o',ls='-') leg=pylab.legend(loc='best') line=leg.get_lines()

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 3:26 PM, Goyo goyod...@gmail.com wrote: 2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='')

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Sterling Smith
On Aug 30, 2012, at 12:35PM, Benjamin Root wrote: On Thu, Aug 30, 2012 at 3:26 PM, Goyo goyod...@gmail.com wrote: 2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='')

[Matplotlib-users] Legend Marker Color Bug

2012-08-28 Thread Sterling Smith
List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='') pylab.plot(pylab.linspace(0,1,100),label='Test2',marker='o',ls='-') leg=pylab.legend(loc='best') line=leg.get_lines() line[0].set_color('black') line[1].set_color('black')

Re: [Matplotlib-users] is this a bug?

2010-05-24 Thread Eric Firing
On 04/09/2010 06:44 AM, Mathew Yeates wrote: Can anyone verify this? If so, I'll submit it to the tracker. The following works without the --pylab switch but not with it. The error I get is some how related to a call to get the active figure which returns None.

[Matplotlib-users] is this a bug?

2010-04-09 Thread Mathew Yeates
Can anyone verify this? If so, I'll submit it to the tracker. The following works without the --pylab switch but not with it. The error I get is some how related to a call to get the active figure which returns None. C:\Python26\lib\site-packages\mpl_toolkits\basemap\__init__.pyc in

[Matplotlib-users] SVG output: possible bug

2009-10-26 Thread Craig Lang
Greetings, I am using matplotlib to generate an SVG plot containing a mixture of Annotations and Circles. I noticed that the annotation text does not appear at exactly the correct location when outputting to SVG. The difference is minor, but definitely present. The following will reproduce the

Re: [Matplotlib-users] SVG output: possible bug

2009-10-26 Thread Stan West
From: Craig Lang [mailto:cr...@grapheneindustries.com] Sent: Monday, October 26, 2009 13:04 Greetings, I am using matplotlib to generate an SVG plot containing a mixture of Annotations and Circles. I noticed that the annotation text does not appear at exactly the correct location when

Re: [Matplotlib-users] Radar / Spider Chars [bug?]

2009-07-28 Thread Tony S Yu
On Jul 28, 2009, at 4:53 PM, Josh Hemann wrote: One small nit: I don't see any code to set the color or alpha level of the grid lines. In my example, I set the color to be a light grey because I wanted the grid lines to be seen but not be distracting from the data. Just a preference.

Re: [Matplotlib-users] Matplot Numpy possible bug !

2009-07-07 Thread Matthias Michler
Hi Jerome, although your problem seems to solved, I would like to state a small remark about the different number of bins. Some time ago numpy changed the default of using left bin edges to using all bin edges. Newer versions of matplotlib handle this difference pretty well, but maybe your old

Re: [Matplotlib-users] Matplot Numpy possible bug !

2009-06-26 Thread Mariette
Hi and thanks for the answer !! no more trouble :) Jerome Sandro Tosi a écrit : On Mon, Jun 22, 2009 at 13:33, jmariettejerome.marie...@toulouse.inra.fr wrote: Hi everybody, I have some probleme with Matplot/numpy ! I'm using matplot v0.91.2 and I'm trying to get the hist function

Re: [Matplotlib-users] Basemap ax parameter : bug or feature ?

2009-06-24 Thread Jeff Whitaker
Pierre GM wrote: On Jun 23, 2009, at 6:01 PM, Jeff Whitaker wrote: Pierre: Doing what you suggest (having Basemap.__init__ automatically set self.ax to the current axes) will break pickling, so I can't do that. Oh, I'm sorry for the misunderstanding: I never suggested that

[Matplotlib-users] Matplot Numpy possible bug !

2009-06-23 Thread jmariette
Hi everybody, I have some probleme with Matplot/numpy ! I'm using matplot v0.91.2 and I'm trying to get the hist function working !! I'm using the sample code of matplot: -- #!/usr/bin/env python import numpy as np import matplotlib.mlab

Re: [Matplotlib-users] Matplot Numpy possible bug !

2009-06-23 Thread Sandro Tosi
On Mon, Jun 22, 2009 at 13:33, jmariettejerome.marie...@toulouse.inra.fr wrote: Hi everybody, I have some probleme with Matplot/numpy ! I'm using matplot v0.91.2 and I'm trying to get the hist function working !! a rather old version of matplotlib (that's the name of the project): we are at

Re: [Matplotlib-users] Basemap ax parameter : bug or feature ?

2009-06-23 Thread Jeff Whitaker
Pierre GM wrote: All (and Jeff W. in particular), It's the time of the year where I have to draw maps in batch. I wrote a script to process some data recorded at various stations, interpolate the data on a grid, draw the corresponding contours on a basemap, add a colorbar, and end with

Re: [Matplotlib-users] Basemap ax parameter : bug or feature ?

2009-06-23 Thread Jeff Whitaker
Pierre GM wrote: On Jun 23, 2009, at 8:27 AM, Jeff Whitaker wrote: Pierre: The reason I did it that way was so that the basemap instance could be created independent of any axes instances. For instance, you can create a basemap instance before an axes instance is created, or you read

Re: [Matplotlib-users] Basemap ax parameter : bug or feature ?

2009-06-23 Thread Pierre GM
On Jun 23, 2009, at 6:01 PM, Jeff Whitaker wrote: Pierre: Doing what you suggest (having Basemap.__init__ automatically set self.ax to the current axes) will break pickling, so I can't do that. Oh, I'm sorry for the misunderstanding: I never suggested that Basemap.ax should be set at

[Matplotlib-users] Basemap ax parameter : bug or feature ?

2009-06-22 Thread Pierre GM
All (and Jeff W. in particular), It's the time of the year where I have to draw maps in batch. I wrote a script to process some data recorded at various stations, interpolate the data on a grid, draw the corresponding contours on a basemap, add a colorbar, and end with adding some extra

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-19 Thread Eric Firing
Christopher Barker wrote: Christopher Barker wrote: If you are not running from svn, a workaround may be to specify the angles as an ndarray or masked array with the shape set to (N,1) where N is the number of arrows. Yes, that seems to work. Thanks! However, I'm a bit confused now -- if

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-18 Thread Christopher Barker
Eric Firing wrote: No, you hit a bug. Thanks for the report and test script. It is fixed in r7103. If you are not running from svn, a workaround may be to specify the angles as an ndarray or masked array with the shape set to (N,1) where N is the number of arrows. Yes, that seems to

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-15 Thread Eric Firing
Christopher Barker wrote: Hi all, I've been messing with quiver a bit, and have some confusions: No, you hit a bug. Thanks for the report and test script. It is fixed in r7103. If you are not running from svn, a workaround may be to specify the angles as an ndarray or masked array with

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-15 Thread Eric Firing
Christopher Barker wrote: Christopher Barker wrote: Hi all, I've been messing with quiver a bit, and have some confusions: one more issue with quiver -- autoscaling fails if there is a NaN in the data: I just committed a change to ensure that nans and infs are treated as masked

[Matplotlib-users] revision 7064 compile bug :

2009-04-24 Thread Xavier Gnata
Hi, I'm trying to compile revision 7064 on a fresh kubuntu 9.04 I get this error: g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functionsbuild/temp.linux-x86_64-2.6/src/agg_py_transforms.o build/temp.linux-x86_64-2.6/src/_gtkagg.obuild/temp.linux-x86_64-2.6/src/mplutils.o

Re: [Matplotlib-users] revision 7064 compile bug :

2009-04-24 Thread Eric Firing
Xavier Gnata wrote: Hi, I'm trying to compile revision 7064 on a fresh kubuntu 9.04 I get this error: g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functionsbuild/temp.linux-x86_64-2.6/src/agg_py_transforms.o

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-17 Thread Matthias Michler
Hello John and others, my favorite solution is: * axes param: specific for a given axes in figure; interface would be something like ax.auto_toolbar_keys(False) Which would be really helpful in case an axes belongs to a button (slider, ...), where logarithmic scaling or a grid are not of

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-17 Thread John Hunter
On Wed, Dec 17, 2008 at 12:22 PM, Matthias Michler matthiasmich...@gmx.net wrote: Hello John and others, my favorite solution is: * axes param: specific for a given axes in figure; interface would be something like ax.auto_toolbar_keys(False) This is on my list of things to do JDH

Re: [Matplotlib-users] Is this a bug?

2008-12-15 Thread Michael Droettboom
Can you share the code you used to set the properties of points and lines. It looks like somehow a string is being set where a floating-point value is expected (either for dpi or markersize). Mike Mauro Cavalcanti wrote: Dear ALL, When attempting to set the properties of points or lines in

Re: [Matplotlib-users] Is this a bug?

2008-12-15 Thread Michael Droettboom
Yeah -- certain cases probably have better type safety than others. Long term, we probably want to do more type checking closer to the entry points (rather than deeper where they actually cause exceptions but are at that point long-removed from the user error). That kind of checking doesn't

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-15 Thread James Schombert
Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback Traceback (most recent call last): File

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-28 Thread Eric Firing
Paul Ivanov wrote: Hi Jesper, confirming the problem over here, as well. both numpy and mpl from svn (also on an Ubuntu 8.04 machine). Just checking: did you do a clean build of numpy (deleting any old build directory) and then a clean build of mpl? Distutils is not very smart about

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-27 Thread Jesper Larsen
Hi Eric and Mauro, Thanks for your answers. 2008/11/27 Eric Firing [EMAIL PROTECTED]: It looks OK to me with mpl and numpy from svn. I tried upgrading to numpy from svn as well. Unfortunately the problem persists (I have attached a plot). I have seen the problem on two of my Ubuntu machines.

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-27 Thread Paul Ivanov
Hi Jesper, confirming the problem over here, as well. both numpy and mpl from svn (also on an Ubuntu 8.04 machine). good luck, Paul Jesper Larsen, on 2008-11-27 02:10, wrote: Hi Eric and Mauro, Thanks for your answers. 2008/11/27 Eric Firing [EMAIL PROTECTED]: It looks OK to me with

[Matplotlib-users] Matplotlib or numpy bug?

2008-11-26 Thread Jesper Larsen
Hi matplotlib users, The script below produces weird arrows when using numpy 1.2.1 and matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine. I use the Agg backend. I am not sure where to start in tracking the bug down so I will just post the rather sparse information that I have.

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-26 Thread Eric Firing
Jesper Larsen wrote: Hi matplotlib users, The script below produces weird arrows when using numpy 1.2.1 and matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine. I use the Agg backend. I am not sure where to start in tracking the bug down so I will just post the rather

Re: [Matplotlib-users] Axes bg color bug or API change.

2008-08-08 Thread Michael McNeil Forbes
On 8 Aug 2008, at 8:42 PM, Michael McNeil Forbes wrote: While revisiting some old plotting code, I ran across the following change in behaviour that seems to be buggy. from pylab import * ion() clf() x = linspace(0,1,10) plot(x,x**2,'r') a = gcf().add_axes([0.5,0.6,0.3,0.3])

[Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Hi all, I'm having an odd issue with the wxAgg back-end: windows XP python 2.5.2 (from python.org) wxPython 2.8.7.1 unicode (binary from wxPython.org) MPL 0.91.2 (binary from MPl site) when I run: import matplotlib matplotlib.use('wxagg') import pylab I get a popup dialog: This application

Re: [Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Chris Barker wrote: Hi all, I'm having an odd issue with the wxAgg back-end: Update: If I remove: matplotlib/backends/_wxagg.pyd The problem goes away. It looks like that pyd is getting loaded even though I'm running wxPython2.8 However, now I get a non-valid png when I do savefig

[Matplotlib-users] .notdef (was: a bug in tex formatting?)

2007-04-07 Thread Jouni K . Seppänen
johann cohen-tanugi [EMAIL PROTECTED] writes: Actually, I have other problems : I cannot save in many formats. The bmp is deemed usueless by gimp, I didn't even know you can save in bmp format. Does png format work better? and ps and eps save options gives the following error message (I am