why is figure derived from the Artist class?
This causes some special casing (figure is the
only artist where artist.figure does not point to
The the figure actually used as an Artist somewhere?
What would break if it would not be derived from
I tried the patch
diff -u -r1.5 figure.py
--- figure.py 21 Oct 2004 19:57:50 -0000 1.5
+++ figure.py 2 Nov 2004 19:35:03 -0000
@@ -13,7 +13,7 @@
figsize = None, # defaults to rc figure.figsize
@@ -27,7 +27,7 @@
paper size is a w,h tuple in inches
DPI is dots per inch
if figsize is None : figsize = rcParams['figure.figsize']
and everything still seems to work. Maybe a figure
should be just something which uses artists to do its
work instead of being one itself.
What do you think?