title: Python error on data.plot(x=data.timestamp, style=".-")
body: <p>In Python I am trying to use the following command to get timestamp info on my plot. I've imported the proper packages pandas and pylab. The data is all cleaned as well.</p>
  
  <p>data.plot(x=data.timestamp, style=".-")</p>
  
  <p>I keep getting a massive error with lots of different things. I am following along to <a href="https://www.youtube.com/watch?v=5XGycFIe8qE" rel="nofollow noreferrer">https://www.youtube.com/watch?v=5XGycFIe8qE</a> and it comes at 38 minutes. Here is the error I get: It's massive </p>
  
  <p>Traceback (most recent call last):   File "", line 1, in      data.plot(x=data.timestamp, style=".-")   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 2673, in <strong>call</strong>     sort_columns=sort_columns, **kwds)   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 1900, in plot_frame     **kwds)   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 1727, in _plot     plot_obj.generate()   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 260, in generate     self._post_plot_logic_common(ax, self.data)   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 395, in _post_plot_logic_common     self._apply_axis_properties(ax.yaxis, fontsize=self.fontsize)   File "C:\Python3\lib\site-packages\pandas\plotting_core.py", line 468, in _apply_axis_properties     labels = axis.get_majorticklabels() + axis.get_minorticklabels()   File "C:\Python3\lib\site-packages\matplotlib\axis.py", line 1188, in get_majorticklabels     ticks = self.get_major_ticks()   File "C:\Python3\lib\site-packages\matplotlib\axis.py", line 1339, in get_major_ticks     numticks = len(self.get_major_locator()())   File "C:\Python3\lib\site-packages\matplotlib\dates.py", line 1054, in <strong>call</strong>     self.refresh()   File "C:\Python3\lib\site-packages\matplotlib\dates.py", line 1074, in refresh     dmin, dmax = self.viewlim_to_dt()   File "C:\Python3\lib\site-packages\matplotlib\dates.py", line 832, in viewlim_to_dt     return num2date(vmin, self.tz), num2date(vmax, self.tz)   File "C:\Python3\lib\site-packages\matplotlib\dates.py", line 441, in num2date     return _from_ordinalf(x, tz)   File "C:\Python3\lib\site-packages\matplotlib\dates.py", line 256, in _from_ordinalf     dt = datetime.datetime.fromordinal(ix).replace(tzinfo=UTC) ValueError: ordinal must be >= 1</p>