[Matplotlib-devel] Overhaul of arrow plotting

David Stansby dstansby at gmail.com
Wed Mar 8 16:08:43 EST 2017


Hi all,

As I'm sure many of you know, there's currently a bit of a mess of
functions that can be used for plotting single arrows in Matplotlib. I've
decided to have a go a tackling the mess with a MEP. I have done a first
draft here: https://github.com/matplotlib/matplotlib/wiki/MEP-29-(arrows)

I would appreciate input into defining the end goal; specifically I propose
that we keep and fix (and possibly rename)

- matplotlib.patches.YAArrow
<http://matplotlib.org/api/patches_api.html?highlight=arrow#matplotlib.patches.YAArrow>
for plotting in 'display space'
- matplotlib.patches.FancyArrowPatch
<http://matplotlib.org/api/patches_api.html?highlight=arrow#matplotlib.patches.FancyArrowPatch>
for plotting in 'data space'

and deprecate and eventually remove matplotlib.patches.FancyArrow
<http://matplotlib.org/api/patches_api.html?highlight=arrow#matplotlib.patches.FancyArrow>
and matplotlib.patches.Arrow
<http://matplotlib.org/api/patches_api.html?highlight=arrow#matplotlib.patches.Arrow>

Does this sound sensible? Please send any thoughts/ideas/feedback to the
mailing list.

All the best,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20170308/aadac4fe/attachment.html>


More information about the Matplotlib-devel mailing list