Re: [Matplotlib-users] MonthLocator doesn't honour rrule bymonthday -1 value for last day of month

2013-04-13 Thread Mark Lawrence
I've found the solution. MonthLocator doesn't support the bysetpos argument that rrule can use. Thankfully from my POV the following two lines give me exactly what I want. rule = rrulewrapper(MONTHLY, bymonthday=(firstDate.day, -1), bysetpos=1) majorLocator = RRuleLocator(rule) Just wish I'd

[Matplotlib-users] how to use x11 as backend for matplotlib on Mountain Lion of Mac OSX?

2013-04-13 Thread Randy Bin Lin
hi, every one: I used to use TkAgg as backend on my macbook for matplotlib which was installed from macports. for a while, the plot window was launched in X11. after a latest macports update, it stopped using x11 instead a standalone python window will be used now. I was wondering if there is a w