Re: [Matplotlib-users] trouble with Arrow

2014-02-02 Thread Eric Firing
On 2014/02/02 7:45 PM, Alan G Isaac wrote: > Last question about this for now ... > > Yet another issue with `arrow`: the > docs say a dashed linestyle is supported > http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.arrow > but really it is not: the *edge* is dashed rather than the tail!

Re: [Matplotlib-users] trouble with Arrow

2014-02-02 Thread Eric Firing
On 2014/02/02 6:52 PM, Alan G Isaac wrote: > Also, despite setting `edgecolor=None`, the edge is still stroked. I suspect you need edgecolor='none'. In general, specifying a color as the string 'none' means "don't draw it". ---

Re: [Matplotlib-users] trouble with Arrow

2014-02-02 Thread Alan G Isaac
Last question about this for now ... Yet another issue with `arrow`: the docs say a dashed linestyle is supported http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.arrow but really it is not: the *edge* is dashed rather than the tail! Maybe I'm missing the intended usage here. But I'm

Re: [Matplotlib-users] trouble with Arrow

2014-02-02 Thread Alan G Isaac
On 2/2/2014 11:13 PM, Alan G Isaac wrote: > A follow-on question: the `arrow` method of an axes > has `length_includes_head` default to False. Why? > This seems very unfriendly behavior for an "arrow". > It also conflicts with the behavior of an `Arrow`. One more follow-on question: the documente

Re: [Matplotlib-users] trouble with Arrow

2014-02-02 Thread Alan G Isaac
A follow-on question: the `arrow` method of an axes has `length_includes_head` default to False. Why? This seems very unfriendly behavior for an "arrow". It also conflicts with the behavior of an `Arrow`. Thanks, Alan Isaac ---

[Matplotlib-users] trouble with Arrow

2014-02-02 Thread Alan G Isaac
I just want to draw a few vectors of different colors. In Mathematica I would use Arrow: http://reference.wolfram.com/mathematica/ref/Arrow.html In Matplotlib I cannot find an easy way. Here's the best I came up with so far. import matplotlib.pyplot as plt from matplotlib.patches import Arrow fi