Skip to content

Commit 444a6df

Browse files
authored
prepare for the release of v0.2.1 (#133)
* add the missing PR number * add a link to cf-xarray * add back the note * update the version number
1 parent a83ed01 commit 444a6df

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

docs/examples/plotting.ipynb

+10
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@
5252
"## quantify the data"
5353
]
5454
},
55+
{
56+
"cell_type": "markdown",
57+
"id": "750e0995-b0a7-4302-8780-8c3d1f2a6199",
58+
"metadata": {},
59+
"source": [
60+
"<div class=\"alert alert-info\">\n",
61+
"<strong>Note:</strong> this example uses the data provided by the <code>xarray.tutorial</code> functions. As such, the <code>units</code> attributes follow the CF conventions, which <code>pint</code> does not understand by default. To still be able to read them we are using the registry provided by <a href=\"https://github.com/xarray-contrib/cf-xarray\"><tt>cf-xarray</tt></a>.\n",
62+
"</div>"
63+
]
64+
},
5565
{
5666
"cell_type": "code",
5767
"execution_count": null,

docs/whats-new.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
What's new
44
==========
55

6-
0.3 (*unreleased*)
7-
------------------
6+
0.2.1 (*unreleased*)
7+
--------------------
88
- allow special "no unit" values in :py:meth:`Dataset.pint.quantify` and
99
:py:meth:`DataArray.pint.quantify` (:pull:`125`)
1010
By `Justus Magin <https://github.com/keewis>`_.
1111
- convert the note about dimension coordinates saving their units in the attributes a
1212
warning (:issue:`124`, :pull:`126`)
1313
By `Justus Magin <https://github.com/keewis>`_.
1414
- improve the documentation on the ``format`` parameter of :py:meth:`Dataset.pint.dequantify`
15-
and :py:meth:`DataArray.pint.dequantify` (:issue:`121`, :pull:`127`)
15+
and :py:meth:`DataArray.pint.dequantify` (:issue:`121`, :pull:`127`, :pull:`132`)
1616
By `Justus Magin <https://github.com/keewis>`_.
17-
- use ``cf-xarray``'s unit registry in the plotting example (:issue:`107`, :pull:`128`).
17+
- use `cf-xarray <https://github.com/xarray-contrib/cf-xarray>`_'s unit registry in the
18+
plotting example (:issue:`107`, :pull:`128`).
1819
By `Justus Magin <https://github.com/keewis>`_.
1920

2021
0.2 (May 10 2021)

0 commit comments

Comments
 (0)