Re: [Matplotlib-users] TypeError: unsupported operand type(s) for +: 'NoneType' and 'float' on 1.2.1

2013-07-22 Thread Brian Baughman
Greetings all, I have this problem now as well. I use a Mac with Canopy installed and it was working fine until I recently updated my packages and got the new matplotlib. The code which reproduces this error for me is very simple: {{{ x = scipy.random.normal(0,1,100) f = figure(num=1) f.clear(

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
kend work for you > on the Mac? Did you install the fonts there? I'm not on the Mac > much --- but I'd be very surprised if Cairo found the CM fonts as > installed by matplotlib automagically there. > > Cheers, > Mike > > Brian Baughman wrote: >> Hello,

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello, Below is the requested output which looks correct to me: [EMAIL PROTECTED]:~/dev/pyanalysis$ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello, I am using matplotlib svn 4626 and Cairo 1.4.0 all with python 2.5 with Ubuntu linux 7.10. The only lines in my matplotlibrc file which are uncommented are: backend : GTKCairo numerix : numpy # numpy, Numeric or numarray interactive : True # see http://matplotlib.sour

[Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello all, I am trying to get a setup where I can have an interactive environment and output to PDF files as needed. I currently have this setup working in OS X 10.5 without problems. However, I cannot get a similar setup working on linux. The best I have been able to do is by using GTK