I have plotted a graph as shown in the image below.
How do I not show the bit surrounded by the red box?
Code is below:
import matplotlib.dates as md
import matplotlib.pyplot as plt
fig = plt.figure()
ax=fig.add_subplot(1,1,1)
plt.plot(ListTime,ListLeiture)
hours = md.HourLocator(byhour=range(8,16,1))
fmt = md.DateFormatter('%d\n%H:%m:%S')
ax.xaxis.set_major_locator(hours)
ax.xaxis.set_major_formatter(fmt)
fig.autofmt_xdate(bottom=0.2, rotation=45)
ax.grid()
plt.show()