-
Notifications
You must be signed in to change notification settings - Fork 794
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
The KDE plot is strange when extent is not specified in transform_density #3203
Comments
Thanks for the report @j4ggr, I think this likely has the same root cause as vega/vega-lite#9078. The fix for this has been merged into Vega-Lite in vega/vega-lite#9106, but we need to wait for a Vega-Lite release in order to update Altair with the fix. |
This is working as expected in altair 5.1.2 so closing this issue |
|
@marianokamp If you recently installed the new version of ALtair, make sure you clear all outputs in the notebook and then restart jupyterlab (not just the kernel). Otherwise an old version of VegaLite might still be used in the background. |
@joelostblom Re-installed 5.3, then restarted jupyterlab (not just the kernel): Now the 2nd code example, without extent, works. Thank you. |
When I use the given example for a KDE plot, I also get the expected result:
But as soon as I remove the optional extent specification, the chart looks pretty bad:
Versions
Python: 3.11.1
Altair: 5.1.1
The text was updated successfully, but these errors were encountered: