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

2013-04-16 Thread Christophe Pettus
ta_size, linewidth=0, color='red', label='Toast/Indexes') ax.set_yticks(ind + width/2) ax.set_yticklabels(table_name, fontproperties=xx_small_font) ax.legend(loc='lower right', prop=x_small_font) plot.tight_layout() plot.savefig(REPORT_DIR_PATH

Re: [Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
h things. Admittedly, it would be nice if tight_layout did > something similar to bbox_inches='tight' and accept a list of additional > artist objects to consider, but it does not do that right now. Both of those worked wonderfully... thank

[Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
e too long to fit into the pre-existing space. What's the best way of allowing more space for the tick labels, either by contracting the chart itself or expanding the figure? Thanks in advance, -- -- Christophe Pettus x...@th

Re: [Matplotlib-users] Horizontal bar chart with log x-axis, no filled boxes

2012-01-12 Thread Christophe Pettus
e in a more prominent location in the docstring? Moving the call to set_xscale('log') to before the calls to barh fixes the problem nicely... thank you! -- -- Christophe Pettus x...@thebuild.com -- RSA(R) Con

Re: [Matplotlib-users] Horizontal bar chart with log x-axis, no filled boxes

2012-01-12 Thread Christophe Pettus
nd, data2, width, left=data1, linewidth=0, color='yellow') ax.set_yticks(ind + width/2) ax.set_yticklabels(label, fontproperties=small_font) ax.set_xscale('log') plot.savefig('matlabtest-log.pdf') -- -- Christophe Pettus x...@thebuild.com ---

[Matplotlib-users] Horizontal bar chart with log x-axis, no filled boxes

2012-01-12 Thread Christophe Pettus
acked barh to the same axes, that second set of rectangles draws fine, even though the first does not. If I simply comment out the call setting the x axis to log, it works properly. Any thoughts? -- -- Christophe Pettus x...@thebuil