Skip to content

Reject unsupported histogram legend location - #1026

Open
liorma6 wants to merge 1 commit into
sharkdp:masterfrom
liorma6:fix/histogram-legend-location
Open

liorma6 wants to merge 1 commit into
sharkdp:masterfrom
liorma6:fix/histogram-legend-location

Conversation

@liorma6

@liorma6 liorma6 commented Nov 4, 2026

Copy link
Copy Markdown

plot_histogram.py accepts --legend-location left, but Matplotlib rejects it with a ValueError. Remove this unsupported choice; center left remains available.

Verified that every supported location renders and left is rejected without a traceback. Fork checks pass before and after: 132 Rust tests, 14 histogram CLI checks, Rust lint/format and Ruff.

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