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

Relative placement of annotations #904

Open
oracle5th opened this issue Dec 20, 2024 · 1 comment
Open

Relative placement of annotations #904

oracle5th opened this issue Dec 20, 2024 · 1 comment
Labels

Comments

@oracle5th
Copy link

Is it possible to place annotations at relative position of the plotting panel like legend_position_inside?

Similar to this ggplot issue:
tidyverse/ggplot2#1244

However, the solution given by Hadley for ggplot2 does not seem to work in plotnine.

@has2k1
Copy link
Owner

has2k1 commented Dec 20, 2024

It should work with

annotate("text", -float("inf"), float("inf"), label = "Top-left", ha = "left", va = "top")

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

No branches or pull requests

2 participants