Skip to content

Commit

Permalink
Fix error in shearstrain notebook (#112)
Browse files Browse the repository at this point in the history
Closes #111.
  • Loading branch information
gunnarvoet authored Nov 30, 2023
1 parent e67886a commit a5c3b06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
History
=======

.. v0.1.3 (unreleased)
.. ---------------------
v0.1.3 (unreleased)
---------------------

.. Breaking changes
.. ~~~~~~~~~~~~~~~~
Expand All @@ -14,8 +14,10 @@ History
.. Bug fixes
.. ~~~~~~~~~
.. Documentation
.. ~~~~~~~~~~~~~
Documentation
~~~~~~~~~~~~~
- Fix an error in stairs plot in shearstrain notebook (:pull:`112`).
:issue:`111` by `Ole Pinner <https://github.com/opinner>`_.

.. Internal Changes
.. ~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/shearstrain.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
" (\n",
" [np.min(depth_bin) - dz / 2],\n",
" 0.5 * (depth_bin[1:] + depth_bin[:-1]),\n",
" [np.max(depth_bin) - dz / 2],\n",
" [np.max(depth_bin) + dz / 2],\n",
" )\n",
")\n",
"fig, ax = plt.subplots(nrows=1, ncols=2, figsize=(6, 4), sharey=True, constrained_layout=True)\n",
Expand Down

0 comments on commit a5c3b06

Please # to comment.