Jae-Joon Lee wrote:
>  I guess this fancy box thing can be used with other artist objects
> also, although the legend object is an only object I can think of now.
> And my personal inclination is put those support code into patches.py
> and have a patch class around it, i.e., a FancyBoxPatch class which is
> initialized with bbox-like object and draw a fancy box around the
> given bbox. And let the Text and the Legend class use this
> FancyBoxPatch. In the current matplotlib, both the Text and the Legend
> class uses the Patch class for drawing a bbox. So how do you think?
>   
I like this suggestion.  I can see this being generally useful.
> What I also want to see in matplotlib is a fancy annotation. I have
> some working code (although I'm planning some major code
> reorganization) and willing to contribute it if there is an interest
> (see the attached example). As you can easily guess, the fancy
> annotation share some of its core with the fancy box. So if you're
> also willing to include the fancy annotation things in matplotlib,
> I'll put some more effort in the code reorganization so that it can
> nicely fit in the current matplotlib classes.
>   
Looking forward to it.
> ps. I just wanted to mention that implementing these fancy boxes
> became possible with the bezier path support in matplotlib.  So my
> thanks to Michael.
>   
You're welcome.  It's nice to see others picking this stuff up and 
running with it.

Cheers,
Mike
>
> On Fri, Sep 12, 2008 at 11:45 AM, John Hunter <[EMAIL PROTECTED]> wrote:
>   
>> On Thu, Sep 11, 2008 at 4:19 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote:
>>     
>>> Thanks John,
>>>
>>> I'm afraid that I'm not quite sure what you're suggesting, and will be
>>> grateful if you describe it more specifically.
>>>       
>> Sorry Jae-Joon -- I was in a big hurry yesterday (in the financial
>> industry we're a bit busy these days) and I forgot that the
>> mind_reader module had not yet been committed to svn.
>>
>> First, I'd like to say that these boxes look really nice, and I think
>> they enhance presentation charts in many contexts (eg business
>> presentations) so thanks a lot for contributing them.
>>
>> I think the best organization is to put all of this functionality
>> (including the textbox code) into text.py and have the default text
>> instance support both the standard text box (Rectangle) and the
>> enhanced ones you have provided.   So basically, just your text.py
>> patch and move all the support code into text.py.  I'd also like to
>> put your example file in the pylab examples directory and add it to
>> examples/tests/backend_driver.py.
>>
>> If you can do all that and submit it as a sf patch, that would be
>> great.  Alternatively, if you would like to send me your sf id, I can
>> add you as a developer and you can contribute it directly.
>>
>> Thanks again,
>> JDH
>>
>> JDH
>>
>>     
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Matplotlib-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>     

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to