Re: [Matplotlib-users] time axis format

2013-06-11 Thread Sudheer Joseph
> Cc: "matplotlib-users@lists.sourceforge.net" > > Sent: Tuesday, 11 June 2013 12:53 PM > Subject: Re: [Matplotlib-users] time axis format > > On 2013/06/10 6:16 PM, Sudheer Joseph wrote: >> >> >> Thank you Eric and CM, >> I have the below piece

Re: [Matplotlib-users] time axis format

2013-06-11 Thread Eric Firing
2 vmin, vmax = self.axis.get_view_interval() > 533 return num2date(vmin, self.tz), num2date(vmax, self.tz) > 534 > > AttributeError: 'NoneType' object has no attribute 'get_view_interva > > > > From: Eric Firing > > To: matplotli

Re: [Matplotlib-users] time axis format

2013-06-11 Thread Eric Firing
On 2013/06/10 6:16 PM, Sudheer Joseph wrote: > Thank you Eric and CM, > I have the below piece of code and added the new definition for minorLocs, > but gets the below error. I believe I did not fully understand the concept > you mentioned. > The concept is "subclassing": writing a class that "i

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
ourceforge.net" > > Cc: > Sent: Tuesday, 11 June 2013 9:46 AM > Subject: Re: [Matplotlib-users] time axis format > > > > Thank you Eric and CM, > I have the below piece of code and added the new definition for minorLocs, > but > gets the below error.

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
(dt, 'hour'):     194 base += (dt.hour/HOURS_PER_DAY + dt.minute/MINUTES_PER_DAY + AttributeError: 'XTick' object has no attribute 'toordinal' From: C M To: matplotlib-users@lists.sourceforge.net >Sent: Tuesday, 11 June 2013 6:41 AM >Subject:

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
*args) >         return = s[:1] + s[3:] > >... > >majorFmt = MonthLetterYear() >minorFmt = MonthLetter() > > >Not tested, but something like that should work. > >Eric > > >> >> >> ---- &

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Eric Firing
ut something like that should work. Eric > > > > *From: * Paul Hobson ; > *To: * Sudheer Joseph ; > *Cc: * matplotlib-users@lists.sourceforge.net > ; > *Subject: * Re: [Matplotlib-users] time axis format > *Sent: * Mon, Jun 10, 2013 8:08:18 PM > > In that case, I

Re: [Matplotlib-users] time axis format

2013-06-10 Thread C M
--- > * From: * Paul Hobson ; > * To: * Sudheer Joseph ; > * Cc: * matplotlib-users@lists.sourceforge.net < > matplotlib-users@lists.sourceforge.net>; > * Subject: * Re: [Matplotlib-users] time axis format > * Sent: * Mon, Jun 10, 2013 8:08:18 PM > > In that c

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
Thank you, So there is no way to get J F M A etc with out reducing font size? We often need to make presentation in front of senior people who insist for bigger fonts. With best regards, Sudheer-- This SF.net email is spo

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Paul Hobson
> *From:* Sudheer Joseph > *To:* Paul Hobson > *Cc:* "matplotlib-users@lists.sourceforge.net" < > matplotlib-users@lists.sourceforge.net> > *Sent:* Saturday, 8 June 2013 7:46 PM > > *Subject:* Re: [Matplotlib-users] time axis format >

Re: [Matplotlib-users] time axis format

2013-06-07 Thread Paul Hobson
On Thu, Jun 6, 2013 at 11:39 PM, Sudheer Joseph wrote: > Dear Experts, > I have been experimenting with the plot_dates option of > matplotlib to plot time series data and have below questions > > I have used > loc = mdates.AutoDateLocator() > ax.xaxis.set_major_locator(loc) > ax.xaxis