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 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
dp