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

Stacked bar-chart annotation: labels go out of the plot when zooming-in using coord_cartesian(xlim, ylim) #981

Closed
alshan opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alshan
Copy link
Collaborator

alshan commented Jan 8, 2024

See comment (#978 (comment)):

One more related issue: When attaching numerical labels to corresponding stacked bars via labels=layer_labels(['sales_value']), it works fine, but upon altering the viewport limits via coord_cartesian(ylim=(min, max)), the labels on the lowest bars are not visible anymore because they sink to the very bottom, while the highest bars' labels are positioned at the very top, which affects the readability of the plot.

@alshan alshan added the bug Something isn't working label Jan 8, 2024
@alshan alshan added this to the New milestone Jan 8, 2024
@OLarionova-HORIS OLarionova-HORIS self-assigned this Jan 11, 2024
@alshan alshan modified the milestones: New, 2024Q1 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants