I want to format my x-axis in the way "%H:%M" but with continuous hours (e.g. 2 days = 48:00) like in this example:
How I want it

The closest attempt I could made is this example:
How it is
But the hours doesn't continue.
Here is my simple Code snippet:
import matplotlib.pyplot as plt
import matplotlib.dates as md
import numpy as np
dataY = np.array([0,1,2,3,4,5,6,7,8,9])
dataX = np.array([0.1,0.5,0.8,1.2,1.3,1.6,1.9,2.1,2.2,2.5]) #Time values like in Excel 1h = 1/24
dataX = dataX +1 #Otherwise it says Error, time values <1
fig, ax = plt.subplots()
timeformat = md.DateFormatter('%H:%M')
plt.Axes.format_xdata = timeformat
ax.xaxis_date()
ax.xaxis.set_major_formatter(timeformat)
plt.xlim(1,4)
plt.plot(dataX,dataY)
plt.ylabel('Y-Values')
plt.xlabel('Time [hh:mm]')
plt.show()
Many thanks in advance
