mpl UML?

Has anyone seen/created any UML models/diagrams for Matplotlib?

I'm currently doing so to help me understand how to use it in an
application, but wondered if somebody has already built the wheel
that I'm trying to invent.

One of the things I'm trying to figure out is whether I can build
a graphic in "reverse order". The standard M.O. seems to be to
traverse a self-building tree by invoking convenience methods on
each new child, Figure-->Subplot-->plot_date, etc.

What I'm looking to do is build from the bottom up, e.g. create a line
or scatter plot instance *first*, then append that to the children of
an existing Axes instance, which is in-turn appended to the childrend of
a Figure instance.

Thanks.

Certainly things like lines, collections can be added to existing axes
(and don't need one around to be created). This is actually what's
used under the hood. You *should* also be able to create an axes
object and then set its figure, but I've never personally done it.

What you really want to look at are a lot of Axes methods:
set_figure()
add_artists()
add_collection()
add_line()

Ryan

ยทยทยท

On Sun, Mar 21, 2010 at 3:35 PM, David Carmean <dlc-sfl@...2956...> wrote:

Has anyone seen/created any UML models/diagrams for Matplotlib?

I'm currently doing so to help me understand how to use it in an
application, but wondered if somebody has already built the wheel
that I'm trying to invent.

One of the things I'm trying to figure out is whether I can build
a graphic in "reverse order". The standard M.O. seems to be to
traverse a self-building tree by invoking convenience methods on
each new child, Figure-->Subplot-->plot_date, etc.

What I'm looking to do is build from the bottom up, e.g. create a line
or scatter plot instance *first*, then append that to the children of
an existing Axes instance, which is in-turn appended to the childrend of
a Figure instance.

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma