Hi, I'm trying to make myself a set of widgets for the first time. I've gotten to the point that I can draw rectangles and lines and make them do the right things when re-drawing figures, zooming, etc., but I'm still a little lost on some points, and I haven't found any really good documentation. So, first question: Where should I go for documentation first? I've been using examples, e.g. widgets.py, and the pygtk event handling page, http://www.pygtk.org/pygtk2tutorial/sec-EventHandling.html. This page was a useful explanation of the stuff in widgets.py: http://www.nabble.com/some-API-documentation-td16204232.html. Second question: I have two subplots of different data with the same dimensions. I'd like to zoom in to the same region on both figures when I use zoom-to-box on either one. How can I do this? (I'm using tkAgg) Thanks, Adam
Hi Adam, On Sun, Oct 26, 2008 at 4:34 PM, Adam <kef...@gm...> wrote: > Hi, I'm trying to make myself a set of widgets for the first time. > I've gotten to the point that I can draw rectangles and lines and make > them do the right things when re-drawing figures, zooming, etc., but > I'm still a little lost on some points, and I haven't found any really > good documentation. > > > So, first question: Where should I go for documentation first? As you've probably noticed, the documentation is in the middle of an update. Part of what has suffered while the docs are updated is the API documentation. The source code, however, is quite well documented. A good way to get access to this documentation is to get a hold of epydoc and run it on the matplotlib source tree. This will generate good local docs for you. Cheers, A>
On Wed, Oct 29, 2008 at 11:19 PM, Anthony Floyd <ant...@gm...> wrote: > Hi Adam, > > On Sun, Oct 26, 2008 at 4:34 PM, Adam <kef...@gm...> wrote: >> Hi, I'm trying to make myself a set of widgets for the first time. >> I've gotten to the point that I can draw rectangles and lines and make >> them do the right things when re-drawing figures, zooming, etc., but >> I'm still a little lost on some points, and I haven't found any really >> good documentation. >> >> >> So, first question: Where should I go for documentation first? > > As you've probably noticed, the documentation is in the middle of an > update. Part of what has suffered while the docs are updated is the > API documentation. The source code, however, is quite well > documented. A good way to get access to this documentation is to get > a hold of epydoc and run it on the matplotlib source tree. This will > generate good local docs for you. Thanks, I was unaware of epydoc. The new matplotlib page (which wasn't up when I asked this question) has a lot of examples showing exactly what I want to do, so that will probably help a lot too. Adam