On Thu, 19 Jun 2008, Scott Sinclair apparently wrote:
> canvas = FigureCanvas(fig)

What is the relationship between a figure and a canvas?

My impression is the following.  You can do all your
drawing on a figure.  When you want to render the figure
(e.g., to screen, or printing to file), and not until then, 
you need a canvas.  A canvas will therefore always be 
associated with a particular backend.

But when one creates a figure canvas, the canvas registers 
itself with the figure.  What does the figure get out of this?
(E.g., if we want the figure to draw itself to the canvas,
the canvas could always pass itself to the figure. Right?)

Thank you,
Alan Isaac





-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to