Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/yieldplotlib/accessibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def run_checks(self):
else:
logger.warning(f"{len(self.warnings)} accessibility checks failed.")

return self.warnings

def check_colors(self):
"""Check if colors used are monotonic and span an acceptable lightness range."""
# Convert RGB colors into greyscale to check lightness.
Expand Down