I have a panda dataframe with the following columns:

Now I would like to plot out a chart with mpf.plot. But I am getting the following error:

How can I avoid the above TypeError Message? I did set the df index with the following command:
dfnew_plot = dfnew_plot.set_index('Date')
type(dfnew_plot.index)does it returnpandas.core.indexes.datetimes.DatetimeIndex?