Skip to content

Improve contrast between optional argument text and background#187

Merged
QuLogic merged 3 commits into
matplotlib:mainfrom
dstansby:improve-text-contrast
Jun 25, 2026
Merged

Improve contrast between optional argument text and background#187
QuLogic merged 3 commits into
matplotlib:mainfrom
dstansby:improve-text-contrast

Conversation

@dstansby

Copy link
Copy Markdown
Member

Fixes #138 (I think). To choose the colour I used https://webaim.org/resources/contrastchecker/ to pick the lightest colour that still passes the accessibility checks (which seem to be a contrast ratio of at least 7:1)

Comment thread cheatsheets.tex
Comment thread cheatsheets.tex Outdated
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@QuLogic QuLogic merged commit c057e04 into matplotlib:main Jun 25, 2026
3 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.

Grey text of the Cheastsheets is hard to read when printed

2 participants