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

Would there be a simple way to change it to be able to use the y axis for each line? #121

Open
ryandikdan opened this issue Feb 24, 2023 · 3 comments · May be fixed by #136
Open

Would there be a simple way to change it to be able to use the y axis for each line? #121

ryandikdan opened this issue Feb 24, 2023 · 3 comments · May be fixed by #136

Comments

@ryandikdan
Copy link

Not much of an issue, more of a request, but would there be an easy way to line up the text on the lines, but keeping the text at the same y value for each line? I'm doing some sigmoid curve plotting and this would be really nice.

@cphyc
Copy link
Owner

cphyc commented Feb 24, 2023 via email

@ryandikdan
Copy link
Author

Any quick recommendations on how to do it?

@cphyc
Copy link
Owner

cphyc commented Feb 24, 2023

The current code is specialized to the case where alignment happens along the x axis. That could be parameterized to either operate on x/y. The entry point is around

.

pevoz23 pushed a commit to pevoz23/matplotlib-label-lines that referenced this issue May 8, 2023
@pevoz23 pevoz23 linked a pull request May 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants