Skip to content

Commit d322d64

Browse files
committed
Merge branch 'main' of https://github.com/DHI/modelskill into Feature-489-add-toy-data
2 parents f80c1a5 + ba82071 commit d322d64

File tree

2 files changed

+26
-35
lines changed

2 files changed

+26
-35
lines changed

modelskill/comparison/_comparer_plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def scatter(
477477
skill_table: Optional[Union[str, List[str], bool]] = None,
478478
ax: Optional[matplotlib.axes.Axes] = None,
479479
**kwargs,
480-
) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]:
480+
) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]:
481481
"""Scatter plot tailored for model-observation comparison.
482482
483483
Optionally, with density histogram.

pyproject.toml

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ include = [
1111
allow-direct-references = true
1212

1313
[project]
14-
name="modelskill"
15-
version="1.2.dev0"
14+
name = "modelskill"
15+
version = "1.2.dev0"
1616
dependencies = [
1717
"numpy > 1.24.4",
1818
"pandas >= 1.4",
@@ -25,11 +25,11 @@ dependencies = [
2525
]
2626

2727
authors = [
28-
{ name="Jesper Sandvig Mariegaard", email="jem@dhigroup.com" },
29-
{ name="Henrik Andersson", email="jan@dhigroup.com" },
28+
{ name = "Jesper Sandvig Mariegaard", email = "jem@dhigroup.com" },
29+
{ name = "Henrik Andersson", email = "jan@dhigroup.com" },
3030
]
31-
description="Compare results from simulations with observations."
32-
license="MIT"
31+
description = "Compare results from simulations with observations."
32+
license = "MIT"
3333
readme = "README.md"
3434
requires-python = ">=3.10"
3535
classifiers = [
@@ -46,45 +46,36 @@ classifiers = [
4646
]
4747

4848
[project.optional-dependencies]
49-
docs = ["quarto-cli==1.5.57",
50-
"quartodoc==0.9.1",
51-
"netCDF4",
52-
"plotly >= 4.5",
53-
"dask",
54-
]
49+
docs = [
50+
"quarto-cli==1.5.57",
51+
"quartodoc==0.9.1",
52+
"netCDF4",
53+
"plotly >= 4.5",
54+
"dask",
55+
]
5556

56-
dev = ["pytest",
57-
"plotly >= 4.5",
58-
"ruff==0.6.2",]
57+
dev = ["pytest", "plotly >= 4.5", "ruff==0.6.2"]
5958

60-
test = [
61-
"pytest",
62-
"pytest-cov",
63-
"openpyxl",
64-
"dask",
65-
"mypy",
66-
"types-PyYAML",
67-
"geopandas",
68-
]
59+
test = [
60+
"pytest",
61+
"pytest-cov",
62+
"openpyxl",
63+
"dask",
64+
"mypy",
65+
"types-PyYAML",
66+
"geopandas",
67+
]
6968

70-
notebooks = [
71-
"nbformat",
72-
"nbconvert",
73-
"jupyter",
74-
"plotly",
75-
"shapely",
76-
"seaborn",
77-
]
69+
notebooks = ["nbformat", "nbconvert", "jupyter", "plotly", "shapely", "seaborn"]
7870

7971
[project.urls]
8072
"Homepage" = "https://github.com/DHI/modelskill"
8173
"Bug Tracker" = "https://github.com/DHI/modelskill/issues"
8274

8375

84-
8576
[tool.ruff.lint]
8677
ignore = ["E501"]
87-
select = ["D200", "D205"]
78+
select = ["E4", "E7", "E9", "F", "D200", "D205"]
8879

8980
[tool.mypy]
9081
python_version = "3.9"

0 commit comments

Comments
 (0)