Re: [Matplotlib-users] get_xlim of dates

2014-09-16 Thread Xiaobo Yang
many thanks - was struggling to find out where's the document! On 16 September 2014 17:20, Scott Lasley wrote: > > On Sep 16, 2014, at 11:31 AM, Xiaobo Yang wrote: > > > Hi, > > > > My X axis represents dates. When I used get_xlim(), I got something like > 735461.0 and 735490.5. What are these

Re: [Matplotlib-users] get_xlim of dates

2014-09-16 Thread Scott Lasley
On Sep 16, 2014, at 11:31 AM, Xiaobo Yang wrote: > Hi, > > My X axis represents dates. When I used get_xlim(), I got something like > 735461.0 and 735490.5. What are these values? How can I convert to python > date objects? > > Many thanks, > Tom See the matplotlib dates documentation at h

Re: [Matplotlib-users] get_xlim of dates

2014-09-16 Thread Jerzy Karczmarczuk
Le 16/09/2014 17:31, Xiaobo Yang a écrit : > My X axis represents dates. When I used get_xlim(), I got something > like 735461.0 and 735490.5. What are these values? How can I convert > to python date objects? Please, read the documentation of datetime. Your data are *ordinals*, numbers which

[Matplotlib-users] get_xlim of dates

2014-09-16 Thread Xiaobo Yang
Hi, My X axis represents dates. When I used get_xlim(), I got something like 735461.0 and 735490.5. What are these values? How can I convert to python date objects? Many thanks, Tom -- Want excitement? Manually upgrade yo