I know this is an old post, but just in case.

For arrowstyle="<->", they are just lines (well, not exactly as a
matter of fact). So, what you need is to change their linewidths. You
may do


arrow1=pylab.annotate("", xytext=(0.1,0.1),
                      xy=(0.9,0.9),fontsize=8,

arrowprops=dict(arrowstyle="<->,head_length=1,head_width=0.8", # I'm
changing the head_length and head_width to make the arrow more
visible.
                                      linewidth=3))

On the other hand, the underlying artist associated with the arrow can
be accessed by *arrow1.arrow_patch*.
Note that it is actually an instance of Patch.

Regards,

-JJ




On Fri, Dec 16, 2011 at 8:32 PM, Petro <x.pi...@gmail.com> wrote:
> How can I change linewidth of this arrow?
> arrow1=pylab.annotate("", xytext=(-3500,-1e8),
> xy=(-3500,8e8),fontsize=8,arrowprops=dict(arrowstyle="<->"))
> Thank you in advance.
> Petro
>
>
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to