Ajouter graph_sankey pour tracer des flux Sankey et couvrir les validations d’entrée#95
Draft
Ajouter graph_sankey pour tracer des flux Sankey et couvrir les validations d’entrée#95
graph_sankey pour tracer des flux Sankey et couvrir les validations d’entrée#95Conversation
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/68526f45-813e-4c5a-959d-84afb8a8544a Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add function to create a Sankey graph
Ajouter Apr 13, 2026
graph_sankey pour tracer des flux Sankey et couvrir les validations d’entrée
xadupre
reviewed
Apr 13, 2026
| diagrams = sankey.finish() | ||
| if title is not None: | ||
| ax.set_title(title) | ||
| return ax, diagrams |
Contributor
Author
There was a problem hiding this comment.
C’est fait dans le commit 146049e : j’ai ajouté un exemple d’utilisation concret dans la docstring de graph_sankey.
Agent-Logs-Url: https://github.com/sdpython/teachpyx/sessions/cd5e1831-153c-45c1-a63e-d8624958ffd7 Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
L’issue demandait l’ajout d’une fonction pour produire un graphique de Sankey (flux). Cette PR introduit une API dédiée dans le module FAQ Python avec des contrôles d’intégrité des flux et des tests ciblés.
Nouvelle API Sankey
graph_sankeydansteachpyx.faq.faq_python.matplotlib.sankey.Sankey.flows,labels,orientations,ax,title, et passthrough**kwargsversSankey.add.Validations d’entrée
flows/labels/orientations.Couverture unitaire
_unittests/ut_faq/test_faq_python.py: