[Matplotlib-users] AnchoredSizeBar Color

2013-04-16 Thread Mathew Topper
Hi, Is there anyway to set the color of an AnchoredSizeBar artist from the mpl_toolkits.axes_grid.anchored_artists toolkit? Thanks, Mat -- Dr. Mathew Topper Institute for Energy Systems School of Engineering The University of Edinburgh Faraday Building The King’s Buildings Edinburgh EH9 3JL

[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')

Re: [Matplotlib-users] AnchoredSizeBar Color

2013-04-16 Thread Jae-Joon Lee
The anchored_artists needs improvements and things are still opaque. For now you can do something like below, ``` a = AnchoredSizeBar(ax.transData, 0.1, test, loc=8, pad=0.1, borderpad=0.1, sep=2, prop=None, frameon=False) rect = a.size_bar._children[0]