-1

enter image description here the values of bars overlapping the borders. How to change the border so that bars with values should fit in properly

1 Answers1

0
#adding following lines solved the problem
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.spines['right'].set_visible(False)
ax.spines['top'].set_visible(False)