import matplotlib.dates as mdates plt.gca().xaxis.set_major_formatter(mdates.DateFormatter('%H:%M'))
import matplotlib.dates as mdates plt.gca().xaxis.set_major_formatter(mdates.DateFormatter('%H:%M'))
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow