From 93f58a60fdb6260f5d5a156c78dca0d956c75fe3 Mon Sep 17 00:00:00 2001 From: Stephan Hoyer Date: Fri, 21 Sep 2018 18:41:50 -0700 Subject: [PATCH] Doc fixes for v0.10.9 --- doc/computation.rst | 6 ++++-- doc/roadmap.rst | 2 ++ doc/whats-new.rst | 19 +++++++++++++------ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/doc/computation.rst b/doc/computation.rst index 67cda6f2191..759c87a6cc7 100644 --- a/doc/computation.rst +++ b/doc/computation.rst @@ -208,15 +208,17 @@ coordinates. :py:meth:`~xarray.DataArray.differentiate` computes derivatives by central finite differences using their coordinates, .. ipython:: python - a = xr.DataArray([0, 1, 2, 3], dims=['x'], coords=[0.1, 0.11, 0.2, 0.3]) + + a = xr.DataArray([0, 1, 2, 3], dims=['x'], coords=[[0.1, 0.11, 0.2, 0.3]]) a a.differentiate('x') This method can be used also for multidimensional arrays, .. ipython:: python + a = xr.DataArray(np.arange(8).reshape(4, 2), dims=['x', 'y'], - coords=[0.1, 0.11, 0.2, 0.3]) + coords={'x': [0.1, 0.11, 0.2, 0.3]}) a.differentiate('x') .. note:: diff --git a/doc/roadmap.rst b/doc/roadmap.rst index 2708cb7cf8f..34d203c3f48 100644 --- a/doc/roadmap.rst +++ b/doc/roadmap.rst @@ -1,3 +1,5 @@ +.. _roadmap: + Development roadmap =================== diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 7240059bd10..4a6886159d1 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -27,11 +27,17 @@ What's New .. _whats-new.0.10.9: -v0.10.9 (unreleased) --------------------- +v0.10.9 (21 September 2019) +--------------------------- -Documentation -~~~~~~~~~~~~~ +This minor release contains a number of backwards compatible enhancements. + +Announcements of note: + +- Xarray is now a NumFOCUS fiscally sponsored project! Read + `the anouncment `_ + for more details. +- We have a new :doc:`roadmap` that outlines our future development plans. Enhancements ~~~~~~~~~~~~ @@ -51,7 +57,8 @@ Enhancements (:issue:`2230`) By `Keisuke Fujii `_. -- :py:meth:`plot()` now accepts the kwargs ``xscale, yscale, xlim, ylim, xticks, yticks`` just like Pandas. Also ``xincrease=False, yincrease=False`` now use matplotlib's axis inverting methods instead of setting limits. +- :py:meth:`plot()` now accepts the kwargs + ``xscale, yscale, xlim, ylim, xticks, yticks`` just like Pandas. Also ``xincrease=False, yincrease=False`` now use matplotlib's axis inverting methods instead of setting limits. By `Deepak Cherian `_. (:issue:`2224`) - DataArray coordinates and Dataset coordinates and data variables are @@ -118,7 +125,7 @@ Bug fixes By `Keisuke Fujii `_. - Now :py:func:`xr.apply_ufunc` raises a ValueError when the size of -``input_core_dims`` is inconsistent with the number of arguments. + ``input_core_dims`` is inconsistent with the number of arguments. (:issue:`2341`) By `Keisuke Fujii `_.