Hi all, i just want to have a simple 2-bar histogram, and my problem is that i want my axis to be with NON-squared aspect, i.e. the y-axes automatically scaled (and this yet works this way),but the x-axis to be as long as it need to display 2 little bars. Instead i get a squared graph with 2 big bars. I also tried using something like "plt.axis([0,1,0,mymax*1.2])", changing the second value, but this affects the scale and NOT my picture aspect ratio.
This is my simploe source: import numpy as np import matplotlib import matplotlib.pyplot as plt N = 1 ind = np.arange(N) width = 0.05 rects2 = plt.bar(ind+width, 100, width, color='g') rects1 = plt.bar(ind, 200, width, color='b') I tried many things, figsize, axis.. i have no idea, probably because i'm new to matplotlib programming Thank you very much for any help, my best ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users