Skip to content

feat(bokeh): implement pie-basic#156

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

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

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude Bot commented Dec 3, 2025

Summary

Implements pie-basic for bokeh library.

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

Implementation

  • plots/bokeh/custom/pie-basic/default.py

Details

Bokeh does not have a native pie chart method, so this implementation uses wedge glyphs to construct the pie chart manually. The implementation:

  • Uses wedge glyphs to draw pie slices with proper angles
  • Includes percentage labels positioned inside slices (for slices >= 5%)
  • Provides interactive tooltips showing category, value, and percentage
  • Supports customizable colors (defaults to PyPlots style palette)
  • Includes a configurable legend
  • Validates input data (empty data, missing columns, non-negative values)
  • Follows PyPlots.ai style guide (colors, dimensions, typography)
  • Falls back to HTML export when selenium is not available for PNG export

@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 a4f194f into plot/pie-basic Dec 3, 2025
9 of 10 checks passed
@github-actions github-actions Bot deleted the auto/pie-basic/bokeh branch December 3, 2025 22:26
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