On Thu, 2006-02-09 at 09:38 +0100, Andre Wobst wrote:
> > Here is a (minimal) example of how I normally add a title in Pyx. It's a
> > sort of a hack but I find it easier than dealing with pyx.text.
> 
> Funny idea. But I don't feal
> 
>     g.text(g.xpos+0.5*g.width, g.ypos+g.height+0.5,
>            "some title",
>            [text.halign.center, text.size(2)])
> 
> that bad either.

I was initially greatly in favor (silently) of adding a title method to
the graph objects.  But I'm definitely seeing your point, Andre.  I'm
still a little conflicted, but I'm pretty sure in the end I'll favor the
solution you have posted above, for conceptual simplicity in edge cases
(imagine stacking multiple graphs on a canvas, as a top-of-the-head
example).  

-Titus

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to