Re: [Matplotlib-users] Very simple question, but I can't still find a solution.

2009-02-24 Thread Paul Redman
Hi Dante, If I've understood you correctly, then you need to add one line: # Set the limits of the x-axis, overriding default. plt.xlim(0, 4) Hope this helps, Paul -- View this message in context: http://www.nabble.com/Very-simple-question%2C-but-I-can%27t-still-find-a-solution.-tp2215259

[Matplotlib-users] Very simple question, but I can't still find a solution.

2009-02-22 Thread Dante Plicato
Hi all, i just want to have a simple bar-chart, and my problem is that i want it to be with NON-squared aspect, i.e. the x-axis to be as long as i need with 2 little bart. Instead i get a squared graph with 2 big bars even if i change width value. This is my source: import numpy as np import matp