Re: [Matplotlib-users] wrong link at http://matplotlib.org?

2013-08-07 Thread Martin Spacek
I think by download page, Keith meant project page. The direct link seems to be http://sourceforge.net/p/matplotlib/mailman/ . Is that permanent enough? Perhaps SF's structure has changed since the "lists" link on the MPL website (http://sourceforge.net/mail/?group_id=80706) was last updated. Ma

[Matplotlib-users] Figure editor fixes need testing

2013-08-07 Thread Martin Spacek
Hello, I found an issue where the figure editor (the checkbox icon in the toolbar) incorrectly captures the color properties from the existing curves in the plot: https://github.com/matplotlib/matplotlib/issues/2274 So I put together a pull request that fixes it: https://github.com/matplotlib/

Re: [Matplotlib-users] [matplotlib-users] Is it possible to set .pdf as defaut when saving an image?

2012-05-28 Thread Martin Spacek
On 12-02-07 08:40 AM, Michael Droettboom wrote: > On 02/07/2012 10:48 AM, Benjamin Root wrote: >> >> >> On Tue, Feb 7, 2012 at 8:33 AM, Fabien Lafont >> > > wrote: >> >> Is it possible to set the extension .pdf as defaut when I save an >> image using the matp

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-24 Thread Martin Spacek
It worked! I had to make a few changes, and there's lots of warnings, but it's now compiling. I've attached a patch. In backend_agg.cpp, I had to replace an 'and' with '&&', and I had to replace a few 'round()' calls with your 'my_round()'. I don't think my_round is directly being included in b

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-22 Thread Martin Spacek
> round() is defined in math.h so adding > > #include > > to the top of the file might fix it. > > Thanks for your patience! > > Mike Just tried the latest rev where you've added to the top, still get the same error. Apparently round isn't defined in math.h: C:\home\mspacek\Desktop\mpl>pyt

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-21 Thread Martin Spacek
Michael, Sorry for the delay. Adding: #include to the top of path.cpp in rev5055 helps - most of the errors have disappeared, but I still get this: running build_ext building 'matplotlib._path' extension C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDE

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-15 Thread Martin Spacek
I just tried reverting to some older revs. r4802 (0.91.2 release) builds fine. r4817, where the transforms branch was merged in, doesn't, and gives what looks like the same error (see below) as the current revision (see previous post). I think r4817 is also the first time the file _path.cpp show

[Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-14 Thread Martin Spacek
Hello, I just updated from svn (r5042) for the first time in about 6 months (I think r3296 or so was my last rev), and I can no longer build in win32 with msvc 7.1. I've got win32_static (extracted from http://matplotlib.sourceforge.net/win32_static_vs.tar.gz) in my mpl root folder. Here's wha

[Matplotlib-users] Build warning on win32: unrecognized option '/mwindows'; ignored

2007-05-15 Thread Martin Spacek
It looks like I've successfully built the latest MPL svn (rev 3273) with the latest WxPython 2.8.4.0 in Python 2.5.1 on win32 using MSVC 7.1. Lots of (what I take it aren't important) type conversion warnings came up, but this warning stood out: building 'matplotlib._windowing' extension C:\bin\Mi

Re: [Matplotlib-users] ugly code

2007-04-22 Thread Martin Spacek
You might consider using the object oriented part of matplotlib instead of the matlab style of doing things. I tend to make my plots a plot() method of whatever kind of analysis class I've created: from pylab import figure class Analysis(object): def init(self): self.x = range(10)

Re: [Matplotlib-users] Error with bar charts

2006-10-26 Thread Martin Spacek
Suresh, That example works fine for me, using python 2.4.3, mpl 0.87.5 under windows, and wxPython 2.6.3.3, with backend: WxAgg, numerix: numarray (1.5.1), interactive: False, and axes.hold: True in the RC file. I'd recommend going with numpy instead of numarray, if you can. See http://numeric

Re: [Matplotlib-users] tooltips in matplotlib?

2006-09-13 Thread Martin Spacek
Just gave it a try, and yes, the tooltip tracks the mouse perfectly for me on my win32 install. Martin Christopher Barker wrote: >>> once running, it's not working quite right: the tooltip always is at >>> the bottom of the Window, though it does track the X location. >> >> Hm, dunno. I'm runni

Re: [Matplotlib-users] tooltips in matplotlib?

2006-09-13 Thread Martin Spacek
> mpl.use('WXAgg') has to come before "import pylab" Right, my mistake. My mpl defaults to wxagg, so I didn't notice that. I'll post an updated one to the devel list. > once running, it's not working quite right: the tooltip always is at the > bottom of the Window, though it does track the X loc

Re: [Matplotlib-users] tooltips in matplotlib?

2006-09-12 Thread Martin Spacek
Thanks for the help Ken and Christopher! Attached is an example file of what I've got running now. It should run on its own. A wx tooltip pops up whenever the mouse is over the axes. The tooltip's hangs obediently off of the bottom right of the mouse cursor. Its string is updated to reflect the

[Matplotlib-users] tooltips in matplotlib?

2006-09-11 Thread Martin Spacek
Hi, I'd like to be able to pop up a tooltip on, say, a matplotlib 'motion_notify_event', or maybe just a 'button_press_event'. Does MPL have the ability to control tooltips, or do I have to drop down to the specific backend to do that (wxagg in my case). If the latter, anyone know off the top