Re: [Matplotlib-users] bug with empty values dates

2012-11-22 Thread Goyo
2012/11/22 Jeffrey Melloy jmel...@gmail.com: I'm graphing data from a web service, and seem to have stumbled upon a bug when dates are graphed without any values. Here's a minimum repro: import datetime import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) x = []

[Matplotlib-users] bug with empty values dates

2012-11-21 Thread Jeffrey Melloy
I'm graphing data from a web service, and seem to have stumbled upon a bug when dates are graphed without any values. Here's a minimum repro: import datetime import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) x = [] st = datetime.datetime(2012,11,21) while st