Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection style for arrows #5009

Open
chaffra opened this issue Feb 3, 2025 · 1 comment
Open

connection style for arrows #5009

chaffra opened this issue Feb 3, 2025 · 1 comment
Labels
feature something new P3 backlog

Comments

@chaffra
Copy link

chaffra commented Feb 3, 2025

It would be nice to have orthogonal and other types of connection style arrows when adding annotations. Matplotlib has something like:

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

ax.plot([1, 2, 3], [4, 5, 2])

# Annotate with a connection line
ax.annotate("Important Point", xy=(2, 5), xytext=(1.5, 5.5),
            arrowprops=dict(arrowstyle="->", connectionstyle="arc3,rad=0.2"))

plt.show()

This would be useful for linking bars in timeline for example. Right now if you annotate the bar chart you can only add straight arrows.

@gvwilson gvwilson added feature something new P3 backlog labels Feb 3, 2025
@gvwilson
Copy link
Contributor

gvwilson commented Feb 3, 2025

Thanks for the feature request @chaffra - I've added it to our backlog, but realistically we're not going to get to this any time soon. If you would like to craft a pull request, we can try to prioritize review. Thanks - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants