Matplotlib scatterplot does not work with pandas timestamp/datetime format #9939
Matplotlib version 2.1 scatter plot with
Code for reproduction
import pandas as pd import numpy as np import matplotlib.pyplot as plt fake_dates = pd.date_range('2013','2014', freq='W') # fake_dates = pd.date_range('2013,'2014', freq='W').values # same error fake_data = np.random.randn(len(fake_dates)) fig, ax = plt.subplots() ax.scatter(fake_dates, fake_data)
Should output scatter plot with dates on x axis and values on y axis. I'm not sure which prior version this worked on but it did work.
@BlackArbsCEO Thank you for opening the ticket :).
By any chance, would you have the possibility to test the master branch from GitHub? I just tested your snippet in an IPython shell and everything seems to run fine. The issue may already have been fixed in the development version.
@BlackArbsCEO I may be one of the last person on Earth to ask for advices when it comes to questions related to git (or pip by the way)