i am trying to get the bar graph using matplotlib.There are just 2 bars in the graph but the space between them is very large.I tried to decrease and increase width but it is just changing the bar width.
def evaluate_bar_graph(coherences, indices):
assert len(coherences) == len(indices)
n = len(coherences)
x = np.arange(n)
plt.bar(x, coherences, width=0.1, tick_label=indices, align='center')
plt.xlabel('Models')
plt.ylabel('Coherence Value')
plt.show()