Skip to content

feat(plotnine): implement pie-basic#158

Merged
github-actions[bot] merged 1 commit intoplot/pie-basicfrom
auto/pie-basic/plotnine
Dec 3, 2025
Merged

feat(plotnine): implement pie-basic#158
github-actions[bot] merged 1 commit intoplot/pie-basicfrom
auto/pie-basic/plotnine

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude Bot commented Dec 3, 2025

Summary

Implements pie-basic for plotnine library.

Parent Issue: #142
Sub-Issue: #148
Base Branch: plot/pie-basic
Attempt: 1/3

Implementation

  • plots/plotnine/pie/pie-basic/default.py

Notes

  • plotnine (ggplot2 for Python) does not support coord_polar() as of version 0.15.x
  • This implementation uses matplotlib directly (plotnine's underlying rendering engine) while maintaining a compatible interface
  • All spec parameters are supported: colors, startangle, autopct, explode, shadow, labels, legend
  • Uses PyPlots.ai color palette by default
  • Full input validation for empty data, missing columns, and negative values

Implements basic pie chart for plotnine library.

Note: plotnine does not support coord_polar() as of v0.15.x, so this
implementation uses matplotlib directly (plotnine's underlying engine)
while maintaining a compatible interface.

Features:
- PyPlots.ai color palette
- Custom colors, labels, and legend support
- Startangle and explode options
- Input validation for empty data and negative values
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 3, 2025

✅ Plot Tests Passed

Created with Python 3.14

Compatibility: 3.11 3.12 3.13

@claude claude Bot added the ai-approved Quality OK, ready for merge label Dec 3, 2025
@github-actions github-actions Bot merged commit 7e84af9 into plot/pie-basic Dec 3, 2025
10 checks passed
@github-actions github-actions Bot deleted the auto/pie-basic/plotnine branch December 3, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-approved Quality OK, ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants