Skip to content

Commit ada3a97

Browse files
committed
Update pytest-mpl configuration to use the default matplotlib style
It reverted the styling to "classic", probably to prevent massive churn in projects using pytest-mpl when matplotlib changed its defaults. However, the default cmap in "classic" mode is "jet" - the colormap we are trying to avoid!
1 parent bf5f338 commit ada3a97

File tree

4 files changed

+1
-0
lines changed

4 files changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ markers = [
101101

102102
mpl-use-full-test-name = true
103103
mpl-baseline-path = "tests/baseline_images"
104+
mpl-default-style = "default"
104105

105106
[tool.mypy]
106107
python_version = "3.12"
-34.3 KB
Loading
-7.95 KB
Loading
-9.46 KB
Loading

0 commit comments

Comments
 (0)