Skip to content

Remove "i" x-axis title from dice charts#18

Merged
koaning merged 1 commit into
mainfrom
koaning/xaxis-labeled-i
Jul 17, 2026
Merged

Remove "i" x-axis title from dice charts#18
koaning merged 1 commit into
mainfrom
koaning/xaxis-labeled-i

Conversation

@koaning

@koaning koaning commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Dice charts rendered "i" as the x-axis title because prob_chart and cdf_chart named their DataFrame outcome column "i", and hastyplot.qplot uses the field name as the axis title with no option to suppress it. This clears the x-axis title on the returned chart in both methods so the charts show no x-axis label. Changes are made in the source notebook nbs/__init__.py and the generated dicekit/__init__.py (via make build); all 47 tests pass.

🤖 Generated with Claude Code

prob_chart and cdf_chart named their outcome column "i", and qplot uses
the field name as the axis title with no way to suppress it. Clear the
x-axis title on the returned chart so the charts show no x-axis label.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@koaning
koaning merged commit 0d88cff into main Jul 17, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant