Double Arrow bbox

Hi All,

I’ve added a ‘double arrow’ class (DArrow) to the patches.BoxStyle class. Here is the diff-summary:

https://github.com/lkilcher/matplotlib/compare/annotate_bbox_DArrow

It’s not a big thing, but I thought others might find it useful. The code is mostly a copy+paste from LArrow. I thought about trying to subclass LArrow and modify the output of transmute (as is done with RArrow), but that seemed more complicated than this. Also, I looked at fancybox_demo2.py, but since it loops over BoxStyle._style_list. The figure created by that demo is attached.

Let me know if I’ve missed anything. Otherwise I’ll submit a pull-request sometime next week.

Thanks,

Levi

figure_1.png

Looks fine to me (sans a couple PEP8 issues). Go ahead and submit the PR.

figure_1.png

···

On Thu, Jul 3, 2014 at 6:41 PM, Levi Kilcher <levi.kilcher@…149…> wrote:

Hi All,

I’ve added a ‘double arrow’ class (DArrow) to the patches.BoxStyle class. Here is the diff-summary:

https://github.com/lkilcher/matplotlib/compare/annotate_bbox_DArrow

It’s not a big thing, but I thought others might find it useful. The code is mostly a copy+paste from LArrow. I thought about trying to subclass LArrow and modify the output of transmute (as is done with RArrow), but that seemed more complicated than this. Also, I looked at fancybox_demo2.py, but since it loops over BoxStyle._style_list. The figure created by that demo is attached.

Let me know if I’ve missed anything. Otherwise I’ll submit a pull-request sometime next week.

Thanks,

Levi


Open source business process management suite built on Java and Eclipse

Turn processes into business applications with Bonita BPM Community Edition

Quickly connect people, data, and systems into organized workflows

Winner of BOSSIE, CODIE, OW2 and Gartner awards

http://p.sf.net/sfu/Bonitasoft


Matplotlib-devel mailing list

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel