-
Notifications
You must be signed in to change notification settings - Fork 74
Fix the audit's five P0s: facet by= length, object-numeric columns, colormap stop order, category-axis type_, tick labels past 1e6 #507
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
Open
Alek99
wants to merge
11
commits into
main
Choose a base branch
from
alek/audit-p0-fixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e92592d
Fix the audit's P0s: facet by= length, object-numeric columns, colorm…
Alek99 08de14a
Add news fragment for the P0 audit fixes (#507)
Alek99 7881e34
Reject a forced scale on an empty categorical axis too (review)
Alek99 fda0501
Use a raw regex in the empty-category test (ruff RUF043)
Alek99 f938af6
Cover every forced scale on an empty categorical axis
Alek99 ba368f0
Check the category/forced-scale conflict before the log range computa…
Alek99 fc0fdc9
Address review on the P0 fixes: mapping facet columns, copy accountin…
Alek99 0eaadac
Add before/after evidence for the exponential tick label fix
Alek99 5aa4963
Address review: plugin columns and color literals in the facet check,…
Alek99 fec9259
Pass --experimental-strip-types on every node below 23.6 (review)
Alek99 5cfcc48
Scale subnormal tick steps in two stages instead of clamping the expo…
Alek99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| Five silent wrong-output defects are fixed. `facet_chart` now rejects a `by=` | ||
| array whose length differs from the data's row count instead of drawing the | ||
| whole dataset in every panel. An object-dtype column whose values are all real | ||
| numbers (a list holding a `None`, Decimals, a pandas object Series with NaN) | ||
| is ingested as numeric with NaN holes rather than becoming a categorical axis | ||
| with a `(missing)` label — the rule the color channel already applied. | ||
| Out-of-order positioned colormap stops raise instead of being clamped into a | ||
| near-solid ramp. `x_axis(type_="time"|"log"|"symlog")` on an axis the marks | ||
| made categorical is a build-time error instead of turning the labels into 1970 | ||
| epoch ticks. And automatic tick labels past 1e6 (or below 1e-4) keep enough | ||
| mantissa digits to stay distinct at the tick step — "1.00e6, 1.05e6, 1.10e6" | ||
| instead of "1.0e6, 1.1e6, 1.1e6" — identically in the browser and every static | ||
| export. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.