Skip to content

Commit

Permalink
fix: default dark when plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Aug 15, 2024
1 parent d54017b commit c933b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pycaputo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def fracplot(
dim = sol.y.shape[0]
overrides = {"lines": {"linewidth": 1}} if dim == 3 else {}

suffixes = _get_default_dark(default=dark)
suffixes = _get_default_dark(default=bool(dark)) if dark is None else ((dark, ""),)
outfile = None

from pycaputo.utils import figure, set_recommended_matplotlib
Expand Down

0 comments on commit c933b72

Please sign in to comment.