Dear all,
I hope some of you could help me out. I am currently trying to generate
some timetables using matplotlib.pyplot.plot_date, having the time-axis
on the y-axis. Typically, one would like to read these plots from top to
bottom, from older to newer items (future on the bottom).
A quick way to do this is ``ax.invert_yaxis()`` (and invert_xaxis() for
the x-axis). That way you preserve auto-scaling and don't wind up with
manually set axis limits.
What you did should have worked, but ``ymin`` and ``ymax`` are probably
datetime objects. ``ylim`` isn't smart enough to
I would still consider this to be a bug, though. Gerd, could you please
file a bug report?
Cheers!
Ben Root
On Tue, Sep 16, 2014 at 7:45 AM, Joe Kington joferking...@gmail.com wrote:
A quick way to do this is ``ax.invert_yaxis()`` (and invert_xaxis() for
the x-axis). That way you preserve
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
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
On Sep 16, 2014, at 11:31 AM, Xiaobo Yang xiaobo.y...@gmail.com 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
Hello.
I do not know the guilty people in this story. The following code works
with Anaconda Python 3 on Lubuntu 14 but it does not with Anaconda Python 3
Mac OS Maverick. Why ?
This message has been posted on both the list of Anaconda and the one of
matplotlib.
Christophe
=== Code ===
#
many thanks - was struggling to find out where's the document!
On 16 September 2014 17:20, Scott Lasley slas...@space.umd.edu wrote:
On Sep 16, 2014, at 11:31 AM, Xiaobo Yang xiaobo.y...@gmail.com wrote:
Hi,
My X axis represents dates. When I used get_xlim(), I got something like