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

2013-04-16 Thread Christophe Pettus
) plot.tight_layout() plot.savefig(REPORT_DIR_PATH + '/table_sizes.pdf') plot.close() -- -- Christophe Pettus x...@thebuild.com -- Precog is a next-generation analytics platform capable of advanced

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

2012-01-12 Thread Christophe Pettus
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...@thebuild.com

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

2012-01-12 Thread Christophe Pettus
+ width/2) ax.set_yticklabels(label, fontproperties=small_font) ax.set_xscale('log') plot.savefig('matlabtest-log.pdf') -- -- Christophe Pettus x...@thebuild.com -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27

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

2012-01-12 Thread Christophe Pettus
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) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan

[Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
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...@thebuild.com

Re: [Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
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... thanks very much! -- -- Christophe Pettus x...@thebuild.com