Skip to content

Commit

Permalink
Update src/styles.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sjoerd Stendahl <contact@sjoerd.se>
  • Loading branch information
cmkohnen and sstendahl authored Nov 21, 2023
1 parent d2b5254 commit 9e72670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _generate_filename(name: str) -> str:


def _is_style_bright(params: RcParams):
return utilities.get_luminance(params["figure.facecolor"]) < 150
return utilities.get_luminance(params["axes.facecolor"]) < 150


class StyleManager(GObject.Object, Graphs.StyleManagerInterface):
Expand Down

0 comments on commit 9e72670

Please sign in to comment.