diff --git a/doc/io.rst b/doc/io.rst index 775d915188e..0943b598a7f 100644 --- a/doc/io.rst +++ b/doc/io.rst @@ -516,6 +516,11 @@ and currently raises a warning unless ``invalid_netcdf=True`` is set: # Reading it back xr.open_dataarray("complex.nc", engine="h5netcdf") +.. ipython:: python + :suppress: + + import os + os.remove('complex.nc') .. warning:: diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 828a66db6ab..13ea55e1c4b 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -33,6 +33,10 @@ Documentation - Add examples for :py:meth:`Dataset.swap_dims` and :py:meth:`DataArray.swap_dims`. By `Justus Magin `_. +- Fixed documentation to clean up an unwanted file created in ``ipython`` example + (:pull:`3353`). + By `Gregory Gundersen `_. + .. _whats-new.0.13.0: v0.13.0 (17 Sep 2019)