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

2013-11-18 Thread Gregorio Bastardo
Hi, I experienced similar error under python 2.7.5 win32 after dirty-upgrading from mpl 1.2.1 to 1.3.1 (w/o first removing the old version). A clean install solved the problem. Cheers, Gregorio -- DreamFactory - Open

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)

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

2013-04-18 Thread Michael Droettboom
Can you please provide a complete, minimal and self-contained script that reproduces the error? The example below has many undefined variables etc. Cheers, Mike On 04/16/2013 07:09 PM, Christophe Pettus wrote: # preamble code collecting data ind = np.arange(len(table_name))

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

2013-04-16 Thread Christophe Pettus
After upgrading to 1.2.1 from 1.1, I'm getting an exception on the below-noted line; any thoughts what might have changed? File /Users/xof/Documents/Dev/tuneup/reports/tables.py, line 60, in table_sizes dbar = ax.barh(ind, data_size, width, linewidth=0, color='blue', label='Main Data')