I'm trying to plot values as a function of the date (only hh:mm:ss, without dd/mm/yy). The code looks like this
dates = matplotlib.dates.date2num(x_values)
plt.plot_date(dates, y_values)
but I get the following error
'numpy.string_' object has no attribute 'toordinal'.