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

fix: DataFrame plot was raising when some extra keywords were passed to encodings (e.g. x=alt.X(a, axis=alt.Axis(labelAngle=30))) #18836

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarcoGorelli
Copy link
Collaborator

@MarcoGorelli MarcoGorelli commented Sep 20, 2024

closes #18830

cc @dangotbanned in case you have time/interest to take a look

Summary: the solution used in #18625 breaks if some extra options (e.g. sort, axis) are specified to the encode arguments. What I'm proposing is to extract 'shorthand' in such cases, so that the tooltips can keep being shown by default

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Sep 20, 2024
…to encodings (e.g. `x=alt.X(a, axis=alt.Axis(labelAngle=30))`)
Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.85%. Comparing base (2b4986a) to head (f792361).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18836      +/-   ##
==========================================
- Coverage   79.86%   79.85%   -0.01%     
==========================================
  Files        1518     1518              
  Lines      205610   205614       +4     
  Branches     2893     2894       +1     
==========================================
- Hits       164202   164198       -4     
- Misses      40860    40868       +8     
  Partials      548      548              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: plotting breaks when axis is passed to alt.X
1 participant