Re: [Matplotlib-users] newbie question: type check?

2010-01-12 Thread Joshua J. Kugler
On Monday 11 January 2010, Nico Schlömer elucidated thus: > quick question from a Python noob: > Suppose I have an instance of an object of matplotlib, Is there any > way to check on its type, e.g., whether it is an instance of > matplotlib.axes.AxesSubplots? Python's built-in 'isintance.' isinst

[Matplotlib-users] Testing - my posts aren't showing up on the list

2008-11-04 Thread Joshua J. Kugler
I've sent two messages to this list, and neither have appeared in the archives, or come back to me. Did I use the right combination of words to get stopped by a spam filter? :) j -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/  ID 0xDB

Re: [Matplotlib-users] Testing - my posts aren't showing up on the list

2008-11-04 Thread Joshua J. Kugler
On Tuesday 04 November 2008, Joshua J. Kugler said something like: > I've sent two messages to this list, and neither have appeared in the > archives, or come back to me. Did I use the right combination of > words to get stopped by a spam filter? :) Sigh, apparently. I'll t

Re: [Matplotlib-users] Testing - my posts aren't showing up on the list

2008-11-04 Thread Joshua J. Kugler
On Tuesday 04 November 2008, Joshua J. Kugler said something like: > On Tuesday 04 November 2008, Joshua J. Kugler said something like: > > I've sent two messages to this list, and neither have appeared in > > the archives, or come back to me. Did I use the right combination

[Matplotlib-users] Setting tick labelsize programatically

2008-11-04 Thread Joshua J. Kugler
[Trying one more time.] I've read docs, search the list archive, and tried to step through code. How can I set things like xtick.labelsize and ytick.labelsize via the object oriented interface? I have a graph object, and I can't find anywhere in the data structure for the completed graph wh

Re: [Matplotlib-users] Setting tick labelsize programatically

2008-11-04 Thread Joshua J. Kugler
On Tuesday 04 November 2008, John Hunter said something like: > On Tue, Nov 4, 2008 at 3:13 PM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > [Trying one more time.] > > > > I've read docs, search the list archive, and tried to step through > > code. >

Re: [Matplotlib-users] Testing - my posts aren't showing up on the list

2008-11-04 Thread Joshua J. Kugler
On Tuesday 04 November 2008, you said something like: > Hello, > > I have found that messages sometimes don't show up on these lists if > your options are set not to receive mailings (eg. if you just want to > look for replies in the archive). Hmm, well, I do receive mail from that list, so it mus

Re: [Matplotlib-users] Setting tick labelsize programatically

2008-11-04 Thread Joshua J. Kugler
On Tuesday 04 November 2008, Joshua J. Kugler said something like: > > Here is one way to do it:: > > > > for label in ax.get_xticklabels() + ax.get_yticklabels(): > >label.set_fontsize(12) > > > > But the artist tutorial above will give you a

Re: [Matplotlib-users] Setting tick labelsize programatically

2008-11-05 Thread Joshua J. Kugler
On Wednesday 05 November 2008, Stan West said something like: > > -Original Message- > > From: Joshua J. Kugler [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 04, 2008 18:39 > > > > On Tuesday 04 November 2008, Joshua J. Kugler said something like: &g

[Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-07 Thread Joshua J. Kugler
With the help of John Hunter and Stan West, I got some of my tick labels sizing correctly. I have this chunk of code: for label in self.main_axes.get_xticklabels(): label.set_fontsize(self.xtick_labelsize) main_ticks = self.main_axes.get_yticklabels() sub_ticks = (self.sub_axes.get_yticklab

Re: [Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-07 Thread Joshua J. Kugler
On Friday 07 November 2008, John Hunter said something like: > On Fri, Nov 7, 2008 at 7:51 PM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > With the help of John Hunter and Stan West, I got some of my tick > > labels sizing correctly. I have this chunk of code:

Re: [Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-16 Thread Joshua J. Kugler
On Saturday 08 November 2008, John Hunter said something like: > On Sat, Nov 8, 2008 at 1:02 AM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > On Friday 07 November 2008, John Hunter said something like: > > > > http://matplotlib.sourceforge.net/faq/troubleshooting_fa

Re: [Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-16 Thread Joshua J. Kugler
On Saturday 08 November 2008, John Hunter said something like: > On Sat, Nov 8, 2008 at 1:02 AM, Joshua J. Kugler > > Sorry, I wasn't so much reporting a problem with matplotlib as I > > was wondering if I was missing something. Turns out I was missing something: it was the

Re: [Matplotlib-users] Twin axes share Formatters, but not ticks

2008-11-16 Thread Joshua J. Kugler
On Sunday 16 November 2008, John Hunter said something like: > When you share an axis, the formatters and locators are shared as > well. I'm not sure if this is idea, but this is the way it is. If > you want to turn off the tick labels for ax2, the trick is to make > them invisible, because the t

Re: [Matplotlib-users] More info: Re: Twin axes share Formatters, but not ticks

2008-11-16 Thread Joshua J. Kugler
On Sunday 16 November 2008, John Hunter said something like: > On Sun, Nov 16, 2008 at 8:38 PM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > I am leaning toward this being a true bug. If you take a look at > > attached plot (the code for which is where I first noticed

[Matplotlib-users] How has dates and autoscaling changed from 0.91.2 to 0.98.5.2

2009-05-20 Thread Joshua J. Kugler
So, my code has been running without flaw for quite some time now, and thanks to the help of some folks here a few months back, I'm learning more about matplotlib. But today I hit a wall. Under matplotlib 0.91.2/Py2.5, I'm getting this graph: http://joshuakugler.com/images/good_graph.png Very

Re: [Matplotlib-users] How has dates and autoscaling changed from 0.91.2 to 0.98.5.2

2009-05-20 Thread Joshua J. Kugler
On Wednesday 20 May 2009, John Hunter said something like: > On Wed, May 20, 2009 at 9:36 PM, Joshua J. Kugler wrote: > > So, my code has been running without flaw for quite some time now, > > and thanks to the help of some folks here a few months back, I'm > > lear

[Matplotlib-users] Matplotlib conflicts with python-dateutils?

2007-04-05 Thread Joshua J. Kugler
Installing an egg today, I got this message from easy_install: /usr/bin/easy_install:5: UserWarning: Module dateutil was already imported from /usr/lib/python2.4/site-packages/matplotlib-0.87.7-py2.4-linux-i686.egg/dateutil/__init__.pyc, but /usr/lib/python2.4/site-packages/python_dateutil-1.1

Re: [Matplotlib-users] Matplotlib conflicts with python-dateutils?

2007-04-11 Thread Joshua J. Kugler
On Thursday 05 April 2007 17:04, Andrew Straw wrote: > Joshua J. Kugler wrote: > > Installing an egg today, I got this message from easy_install: > > > > /usr/bin/easy_install:5: UserWarning: Module dateutil was already > > imported from > > /usr/lib/python2.4/site

[Matplotlib-users] Bug in 0.9?

2007-04-11 Thread Joshua J. Kugler
We had some working code were were using with 0.87, but when we try to use it with 0.90, we get the following error: File "/usr/local/lib/python2.4/site-packages/EEIGraph/BaseGraph.py", line 250, in plotDate line = self.main_axes.plot_date( g[:,0], g[:,1] ) File "/usr/lib/python2.4/site-

Re: [Matplotlib-users] Bug in 0.9?

2007-04-11 Thread Joshua J. Kugler
On Wednesday 11 April 2007 15:49, Eric Firing wrote: > It is a bug that is fixed in svn. The "this" part of the names is > incorrect. The revised function is: > > > def xaxis_date(self, tz=None): > """Sets up x-axis ticks and labels that treat the x data as dates. > > tz is

[Matplotlib-users] Small negative values causing graph breaks?

2007-10-11 Thread Joshua J. Kugler
Disclaimer: I do know Python, but am not terribly familiar with Matplotlib as I'm taking over the maintenance of our graphing libraries. This post is likely to leave out details that you need to help diagnose the problem, but I didn't think posting all 1500 or so lines of our graphing routines

Re: [Matplotlib-users] Small negative values causing graph breaks?

2007-10-23 Thread Joshua J. Kugler
On Thursday 11 October 2007 17:41, Stephen George wrote: > Hi Joshua, > > > As you can see from the attached graph, there is a break the in graph > > somewhere around 7 AM or so. This is the data I am graphing for that red > > line: > > > > "2007-10-09 00:00:00",0.015 > > "2007-10-09 01:00:00",0.0