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

Line segments in geom_density2df() do not get interpolated when used with coord_polar() #1037

Closed
IKupriyanov-HORIS opened this issue Mar 7, 2024 · 0 comments
Assignees
Milestone

Comments

@IKupriyanov-HORIS
Copy link
Collaborator

Code snippet:

from lets_plot import *
LetsPlot.setup_html()
p = ggplot() + geom_density2df(aes(x=[0, 1], y=[0, 1], fill='..level..'), bins=6, show_legend=False) 

gggrid([
    p,
    p + coord_polar()
])

Expected:
The plot should have form of a circle.

Actual:
The plot has a jagged edge, the segments near the edge of the plot have not been interpolated.
image

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

2 participants