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

facet_wrap: make the axes on all facets the same in polar coordinates #1097

Open
ASmirnov-HORIS opened this issue May 7, 2024 · 0 comments

Comments

@ASmirnov-HORIS
Copy link
Collaborator

Example:

data = {
    'v': ['A', 'A', 'B', 'C', 'A', 'B', 'B', 'C'],
    'g': ['t', 't', 't', 't', 's', 's', 's', 's'],
}

ggplot(data, aes('v')) + geom_bar() + coord_polar() + facet_wrap(facets='g', ncol=1)

Output:

However, in a polar coordinate system, the axes should be consistent across all facets. Unlike the Cartesian coordinate system, where everything is supposed to stay as it is.

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

No branches or pull requests

1 participant