Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion modelskill/comparison/_comparer_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def scatter(
skill_table: Optional[Union[str, List[str], bool]] = None,
ax: Optional[matplotlib.axes.Axes] = None,
**kwargs,
) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]:
) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]:
"""Scatter plot tailored for model-observation comparison.

Optionally, with density histogram.
Expand Down
59 changes: 25 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ exclude = ["notebooks", "tests"]
allow-direct-references = true

[project]
name="modelskill"
version="1.2.dev0"
name = "modelskill"
version = "1.2.dev0"
dependencies = [
"numpy > 1.24.4",
"pandas >= 1.4",
Expand All @@ -23,11 +23,11 @@ dependencies = [
]

authors = [
{ name="Jesper Sandvig Mariegaard", email="jem@dhigroup.com" },
{ name="Henrik Andersson", email="jan@dhigroup.com" },
{ name = "Jesper Sandvig Mariegaard", email = "jem@dhigroup.com" },
{ name = "Henrik Andersson", email = "jan@dhigroup.com" },
]
description="Compare results from simulations with observations."
license="MIT"
description = "Compare results from simulations with observations."
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
Expand All @@ -44,45 +44,36 @@ classifiers = [
]

[project.optional-dependencies]
docs = ["quarto-cli==1.5.57",
"quartodoc==0.9.1",
"netCDF4",
"plotly >= 4.5",
"dask",
]
docs = [
"quarto-cli==1.5.57",
"quartodoc==0.9.1",
"netCDF4",
"plotly >= 4.5",
"dask",
]

dev = ["pytest",
"plotly >= 4.5",
"ruff==0.6.2",]
dev = ["pytest", "plotly >= 4.5", "ruff==0.6.2"]

test = [
"pytest",
"pytest-cov",
"openpyxl",
"dask",
"mypy",
"types-PyYAML",
"geopandas",
]
test = [
"pytest",
"pytest-cov",
"openpyxl",
"dask",
"mypy",
"types-PyYAML",
"geopandas",
]

notebooks = [
"nbformat",
"nbconvert",
"jupyter",
"plotly",
"shapely",
"seaborn",
]
notebooks = ["nbformat", "nbconvert", "jupyter", "plotly", "shapely", "seaborn"]

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



[tool.ruff.lint]
ignore = ["E501"]
select = ["D200", "D205"]
select = ["E4", "E7", "E9", "F", "D200", "D205"]

[tool.mypy]
python_version = "3.9"
Expand Down
Loading