Skip to content

Feature request for Fancy Arrow: allow arrow head and connector to have separate line attributes #3624

Open
@breedlun

Description

@breedlun

I like that annotations let me place arrows whose shape stay the same when I resize the axes, yet the positions of the arrows move with the axes.

However, I would like to be able to specify a different line attributes for the arrow head and the connector (arrow line). Specifically, I want to have a zero line width for the arrow head and a non-zero line width for the connector. Perhaps the user could specify things like the line width, line style, and line color in the connectorstyle string. For example:

anno = ax.annotate('', xy=target, xycoords='axes fraction', \
         xytext=orig, textcoords='offset points', \
         arrowprops=dict(arrowstyle='-|>', mutation_scale = 200, \
         linewidth = 0, connectionstyle = 'arc3, linewidth=1'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy