Matplotlib: X-Achsen-Zeitstempelformat ändern
Manchmal erhält man seltsame Zeitstempelformat-Wahlen in Matplotlib wie 22 19:40 (bedeutet 19:40 Uhr am 22. des jeweiligen Monats).

Dies lässt sich leicht beheben:
matplotlib_timestamp_format.py
import matplotlib.dates as mdates
plt.gca().xaxis.set_major_formatter(mdates.DateFormatter('%H:%M'))was beispielsweise zu diesem Bild führt:

Check out similar posts by category:
Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow