-
Notifications
You must be signed in to change notification settings - Fork 18
Feature: Add top-aligned ribbon flow plot type #559
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
Conversation
for more information, see https://pre-commit.ci
(cherry picked from commit 1ff58be)
| return diagrams[0] if len(diagrams) == 1 else diagrams | ||
|
|
||
| @docstring._snippet_manager | ||
| def ribbon( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defaults in the rc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
beckermr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idk if the test failures matter or not. Otherwise Lgtm.
|
The tests are still a bit flaky -- been trying to fix it but it feels like whack-a-mole |
This PR adds a new ribbon flow plot type via ax.ribbon for fixed-row, top-aligned transition diagrams, distinct from Sankey layering because category rows remain globally stable across periods. It includes a reusable implementation in plot_types/ribbon.py, PlotAxes API wiring, a smoke test in test_plot.py, and a new plot-types gallery example using synthetic generic categories so the feature is documented without domain-specific assumptions.