I have in my python script this date_list = ['01/11/2015', '01/12/2015', '01/13/2015', '01/14/2015'] plt.plot([1,2,3,4], [2,4,6,8]) plt.xticks([1,2,3,4], date_list) locs, labels =
Solution 1:
Either use:
plt.tight_layout()
or specifically set the margins, e.g. using subplots_adjust():
Post a Comment for "X-axis Label Gets Cut Off Of Graph - Python Matplotlib"