Skip to content

Commit 5fe981f

Browse files
Prepare release 0.18.0 (#1281)
# Description Prepare 0.18.0 release. I took the liberty of slightly improving the cleanup example in the user guide, before it is pushed to the online documentation. I modified: - select the last image as thumbnail - Add titles to last plots # Checklist <!--- Before requesting review, please go through this checklist: --> - [ ] Links to correct issue - [x] Update changelog, if changes affect users - [ ] PR title starts with ``Issue #nr``, e.g. ``Issue #737`` - [ ] Unit tests were added - [x] **If feature added**: Added/extended example
1 parent 1c1a446 commit 5fe981f

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

docs/api/changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The format is based on `Keep a Changelog`_, and this project adheres to
77
`Semantic Versioning`_.
88

99

10-
[Unreleased]
11-
------------
10+
[0.18.0]
11+
--------
1212

1313
Fixed
1414
~~~~~

examples/user-guide/10-cleanup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
datasets.
99
"""
1010

11+
# sphinx_gallery_thumbnail_number = -1
12+
1113
# %%
1214
# We'll start with the usual imports
1315
import numpy as np
@@ -169,9 +171,10 @@
169171

170172
diff_stage = dirty_ds["stage"] - cleaned_ds["stage"]
171173

172-
imod.visualize.plot_map(
174+
fig, ax = imod.visualize.plot_map(
173175
diff_stage.max(dim="layer"), "viridis", np.linspace(0, max_diff, 9)
174176
)
177+
ax.set_title("stage lowered by cleanup (m)")
175178

176179
# %%
177180
#
@@ -182,9 +185,11 @@
182185

183186
diff_riv_bot = dirty_ds["bottom_elevation"] - cleaned_ds["bottom_elevation"]
184187

185-
imod.visualize.plot_map(
188+
fig, ax = imod.visualize.plot_map(
186189
diff_riv_bot.max(dim="layer"), "viridis", np.linspace(0, max_diff, 9)
187190
)
191+
ax.set_title("river bottom lowered by cleanup (m)")
192+
188193
# %%
189194
#
190195
# You can see the bottom elevation was lowered by the cleanup method.

imod/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
)
1616
from imod.formats import gen, idf, ipf, prj, rasterio
1717

18-
__version__ = "0.17.2"
18+
__version__ = "0.18.0"

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "imod-python"
3-
version = "0.17.2"
3+
version = "0.18.0"
44
description = "Make massive MODFLOW models"
55
authors = ["Deltares <huite.bootsma@deltares.nl>", ]
66
channels = ["conda-forge", ]

0 commit comments

Comments
 (0)