Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread Paul Ivanov
On Fri, Nov 11, 2011 at 12:40 PM, magurling wrote: > I updated matplotlib to 1.1.0; both methods work now. Thanks for letting us know, and glad it works for you now - that information is useful for those who search for similar error messages in the future and find this thread. > I would say "Tha

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-11 Thread Friedrich Romstedt
2011/11/11 Michael Droettboom : > Very odd.  Given there's no C++ changes here, I'm very surprised.  Shooting > in the dark here: does deleting ~/.matplotlib/fontList.cache help at all? Nope :-( I'm pretty much surprised too. I wonder why noone else has this issue? I replaced the font_manager.p

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-11 Thread Michael Droettboom
Very odd. Given there's no C++ changes here, I'm very surprised. Shooting in the dark here: does deleting ~/.matplotlib/fontList.cache help at all? Mike On 11/11/2011 05:34 PM, Friedrich Romstedt wrote: > 2011/11/11 Michael Droettboom: >> Running bisect in this way, did you arrive at a more c

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-11 Thread Friedrich Romstedt
2011/11/11 Michael Droettboom : > Running bisect in this way, did you arrive at a more conclusive > determination about which commit may have introduced the problem? Yes, do you know Final Fantasy? "You gonna loose it ... Tracking ... Tracking ... Found it." af9954d46e. I don't know which part

Re: [Matplotlib-users] Matplotlib.tests sub-modules missing

2011-11-11 Thread Michael Droettboom
Have you tried removing the build directory and install directories to force a full rebuild? It sounds like the build or install got stuck at some point. I've never seen it not copy *.py files in a package before. Mike On 11/11/2011 03:12 PM, David Welch wrote: > Update: test folders are in t

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread magurling
I updated matplotlib to 1.1.0; both methods work now. I would say "Thanks Paul and Francesco" but I just read the mailing list etiquette. -- View this message in context: http://old.nabble.com/legend-border%2C-frameon-keyword-tp32807933p32828355.html Sent from the matplotlib - users mailing list

Re: [Matplotlib-users] Matplotlib.tests sub-modules missing

2011-11-11 Thread David Welch
Update: test folders are in the build directory, they are just not being copied during build. *bump* On 11/10/11, David Welch wrote: > Hello, > > I am installing matplotlib on Snow Leopard 10.6. I downloaded v1.1.0 from > the sourceforge site and installed in this manner: > > ##

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread Paul Ivanov
>> On Fri, Nov 11, 2011 at 8:53 AM, Paul Ivanov wrote: >>> might you be on an old matplotlib.__version__? On Fri, Nov 11, 2011 at 11:18 AM, magurling wrote: > This is probably it. I installed by "apt-get install" but keep getting > version 0.99.3 installed. > I need to install a more recent vers

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread magurling
This is probably it. I installed by "apt-get install" but keep getting version 0.99.3 installed. I need to install a more recent version before I trouble anyone further. Which version are you using Paul? Paul Ivanov wrote: > > Oops, didn't reply to list last time: > > On Fri, Nov 11, 2011 at 8

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread magurling
Thanks Francesco, but I've also tried to use the "draw_frame(False)" method with no luck. montefra wrote: > > Hi, > > I usually do like this > > l = ax.legend( (rects1[0], rects2[0]), ('set1', 'set2')) > l.draw_frame(False) > > Cheers, > > Francesco > > 2011/11/9 magurling : >> >> I want a

Re: [Matplotlib-users] How to shift colormap?

2011-11-11 Thread klo uo
Thanks Johann, that is exactly what I asked for I knew that matplotlib can do GUI tricks but I didn't felt skilled to go there. Seeing you code it seems easy now, but it's always like that after you see the solution :D Cheers On Fri, Nov 11, 2011 at 6:05 PM, johanngoetz wrote: > > I have thi

Re: [Matplotlib-users] How to shift colormap?

2011-11-11 Thread johanngoetz
I have this script that uses the matplotlib Slider object to control the colormap of a histogram. This could be very close to what you want. Here is the script: ### begin colormap_slider.py # import math, copy import numpy from matplotlib import pyplot, colors, cm

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread Paul Ivanov
Oops, didn't reply to list last time: On Fri, Nov 11, 2011 at 8:53 AM, Paul Ivanov wrote: > On Tue, Nov 8, 2011 at 4:49 PM, magurling wrote: >> >> I want a legend without the black border. I've tried a few things that have >> been suggested on this forum and elsewhere to no avail. According to w

Re: [Matplotlib-users] set background of axes + labels

2011-11-11 Thread Paul Ivanov
On Wed, Nov 9, 2011 at 7:37 AM, Brent Pedersen wrote: > Hi, > I have an image like this: > https://docs.google.com/open?id=0B7eMlcFeoB_rMTU1OTU0NmMtMzM3MC00YWI3LWFlNTYtNzg0MTM4MWI3OWMz > > with an axes inside of another. I'd like to set the background behind > the labels of the inner figure. > I'v

Re: [Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread Francesco Montesano
Hi, I usually do like this l = ax.legend( (rects1[0], rects2[0]), ('set1', 'set2')) l.draw_frame(False) Cheers, Francesco 2011/11/9 magurling : > > I want a legend without the black border. I've tried a few things that have > been suggested on this forum and elsewhere to no avail. According to

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-11 Thread Bedartha Goswami
Hi, >> As a test, try to set your backend to either 'cocoaagg' or 'macosx' like so: import matplotlib as mpl mpl.use('cocoaagg') There have been issues with TkAgg on macs. I have personally not had any success with it (even with ActiveState's Tcl). >> >> > tried doing the above but this requ

[Matplotlib-users] legend border, frameon keyword

2011-11-11 Thread magurling
I want a legend without the black border. I've tried a few things that have been suggested on this forum and elsewhere to no avail. According to what I've seen, it should be as simple as: import matplotlib.pyplot as plt import numpy as np N = 5 Means1 = (20, 35, 30, 35, 27) Means2 = (25, 32, 34,

[Matplotlib-users] set background of axes + labels

2011-11-11 Thread Brent Pedersen
Hi, I have an image like this: https://docs.google.com/open?id=0B7eMlcFeoB_rMTU1OTU0NmMtMzM3MC00YWI3LWFlNTYtNzg0MTM4MWI3OWMz with an axes inside of another. I'd like to set the background behind the labels of the inner figure. I've tried set_frame_on on the axis, set_frameon on the figure, axisbg_

[Matplotlib-users] Fwd: Matplotlib "show()" error Mac OS X Lion

2011-11-11 Thread Bedartha Goswami
Sorry it seems that the group as a limit to mail size so I am resending the mail below without the attachment. Begin forwarded message: > From: Bedartha Goswami > Subject: Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion > Date: November 11, 2011 4:36:11 PM GMT+01:00 > To: matplot

Re: [Matplotlib-users] How to shift colormap?

2011-11-11 Thread klo uo
Or are matplotlib colormaps compatible with any other programs? On Fri, Nov 11, 2011 at 4:19 PM, klo uo wrote: > > So I want to ask this question differently: Is there some tool (Inkscape, > CorelDraw, Photoshop, ... anything) that would let me use GUI with some > sliders so that I can try adjus

Re: [Matplotlib-users] How to shift colormap?

2011-11-11 Thread klo uo
I learned some more about matplotlib colormaps from here: http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps and tried to grasp cmap creation workflow. Here is GMT_haxby: _GMT_haxby_data = { 'blue': [ (0.0, 0.474509805441, 0.474509805441), (0.0322580635548, 0.588235318661, 0.588235318661

Re: [Matplotlib-users] Upgrade from 1.0.1 to 1.1.0, not quite working

2011-11-11 Thread Alejandro Weinstein
On Thu, Nov 10, 2011 at 11:04 PM, John Ladasky wrote: > But when I started a Python shell, imported, and then printed > matplotlib.__version__, I got 1.0.1. > > Must I explicitly uninstall the older revision somehow?  I don't know > how to do this. > Something similar happened to me a few days ag

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-11 Thread Ludwig Schwardt
Hi Russell, The System Python 2.7.1 on 10.7 is also 64-bit (I checked the size of sys.maxint to confirm this). I have built matplotlib 1.1.0 on this with the standard Lion LLVM compiler (i686-apple-darwin11-llvm-gcc-4.2) and TkAgg works fine. Once you have pkg-config on your system (I use homeb