Skip to content

Draggable annotations: documentation and bugreport #5839

@Phlya

Description

@Phlya

Hi, I just found out somewhere on the web that annotations can be set to be draggable by just doing:

plt.annotate(...).draggable()

This is absolutely amazing! But I don't think this is documented anywhere, while it should be (or did I miss it?).

At the same time the behaviour is not perfect: often after dragging one annotation when trying to drag another, the first one would be dragged in the same direction (e.g. I drag the second along x axis, the first one does the same). Sometimes I would get even three annotations moving when I drag one of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationkeepItems to be ignored by the “Stale” Github Action

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions