[Matplotlib-users] How to Set the Range of the Y-Axis on a Bar Chart

2010-06-08 Thread Ted Kord
Hi How do I set the range of the y-axis on a bar chart , e.g, from 0 to 100? Thanks Ted -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental

Re: [Matplotlib-users] How to Set the Range of the Y-Axis on a Bar Chart

2010-06-08 Thread Benjamin Root
Ted, You can call ylim([0, 100]) after you create your plot. If you have the axes object (from gca()), you can directly manipulate the limits using set_ylim([0, 100]). Ben Root On Tue, Jun 8, 2010 at 10:50 AM, Ted Kord teddy.k...@googlemail.com wrote: Hi How do I set the range of the

Re: [Matplotlib-users] How to Set the Range of the Y-Axis on a Bar Chart

2010-06-08 Thread Ted Kord
Thanks Ben. worked brilliantly. Ted On 8 June 2010 18:48, Benjamin Root ben.r...@ou.edu wrote: Ted, You can call ylim([0, 100]) after you create your plot. If you have the axes object (from gca()), you can directly manipulate the limits using set_ylim([0, 100]). Ben Root On Tue,