Re: [Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-27 Thread jfortiv
This worked. Thank you very much! For some reason I had commented out ax.fmt_xdata = ... This is exactly what I needed. James Goyo wrote: 2011/4/23 jfortiv jfor...@gmail.com: Hi, This actually did not work for me.  Can you show me the full code that you used to successfully

Re: [Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-23 Thread jfortiv
Hi, This actually did not work for me. Can you show me the full code that you used to successfully produce the time-format x-axis labels? Thanks, James Sebastian Berg wrote: Hello, don't know the foo behind it, but using ax.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d

Re: [Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-23 Thread Goyo
2011/4/23 jfortiv jfor...@gmail.com: Hi, This actually did not work for me.  Can you show me the full code that you used to successfully produce the time-format x-axis labels? See attached files. Goyo sample.py Description: Binary data attachment:

[Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-18 Thread jfortiv
Hello, I'm trying to create a bar chart that looks something like a gannt chart... See the simple example here: http://www.promana.net/making-use-of-gantt-charts/ I'm trying to utilize barh() and fmt_xdata to accomplish this with the following: #~~~ date1 =

Re: [Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-18 Thread Sebastian Berg
Hello, don't know the foo behind it, but using ax.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d %H:%M:%S')) works. Regards, Sebastian On Sun, 2011-04-17 at 19:52 -0700, jfortiv wrote: Hello, I'm trying to create a bar chart that looks something like a gannt chart... See the