Skip to content

feat(pygal): implement pie-basic#151

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

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

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude Bot commented Dec 3, 2025

Summary

Implements pie-basic for pygal library.

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

Implementation

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

Features

  • Visualizes proportions of categorical data as colored pie slices
  • Supports custom colors with PyPlots.ai palette as default
  • Legend with configurable position (right, bottom, top)
  • Inner radius parameter for donut chart variant
  • Percentage labels displayed on each slice
  • Input validation for empty data, missing columns, and negative values

Quality Checklist

  • Type hints on all parameters and return type
  • Google-style docstring with Args, Returns, Raises, Example
  • Input validation for empty data and missing columns
  • Non-negative value validation
  • Colorblind-friendly palette (PyPlots.ai colors)
  • Tested and generates plot.png successfully
  • Code formatted with ruff

Add basic pie chart implementation for pygal library.

Features:
- Visualizes proportions of categorical data as pie slices
- Supports custom colors, legend, and donut mode
- Uses PyPlots.ai color palette by default
- Input validation for empty data and negative values
- Percentage labels on each slice
@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 ad72e63 into plot/pie-basic Dec 3, 2025
10 checks passed
@github-actions github-actions Bot deleted the auto/pie-basic/pygal branch December 3, 2025 22:25
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