docs: Fr/plotly annotations#163
Conversation
|
@rodriguesfred I promise I haven't forgotten about your PRs! I just haven't had the time. @pbrohan would you be able to review this PR for Fred? |
|
@pbrohan ready for review |
|
@nickhenden merged to dev. Ready for review. |
There was a problem hiding this comment.
Pull request overview
Adds a new "Annotations" section to the Plotly cookbook (mirroring the Matplotlib cookbook addition) that explains how to label charts directly and demonstrates value labels on a bar chart using go.Bar(text=...). This closes issue #158.
Changes:
- Adds an "Annotations" section to
03-plotly-usage.qmdwith prose explaining direct labelling vs legends. - Adds a worked example: top‑5 most populous Americas countries (2007) bar chart with value labels.
- Adds chart title, subtitle, source, and alt-text markup for the new example.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
nickhenden
left a comment
There was a problem hiding this comment.
two minor comments from Copilot, but otherwise looks good :)
|
@nickhenden ready for re-review |
Adding annotation section to plotly cookbook. matching the one in Matplotlib
Related Issues
Fixes #
Closes #158
Relates to #158 #157