Skip to content

Commit

Permalink
Doc fixes for v0.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer committed Sep 22, 2018
1 parent ab96954 commit 93f58a6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
6 changes: 4 additions & 2 deletions doc/computation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 2 additions & 0 deletions doc/roadmap.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _roadmap:

Development roadmap
===================

Expand Down
19 changes: 13 additions & 6 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://numfocus.org/blog/xarray-joins-numfocus-sponsored-projects>`_
for more details.
- We have a new :doc:`roadmap` that outlines our future development plans.

Enhancements
~~~~~~~~~~~~
Expand All @@ -51,7 +57,8 @@ Enhancements
(:issue:`2230`)
By `Keisuke Fujii <https://github.com/fujiisoup>`_.

- :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 <https://github.com/dcherian>`_. (:issue:`2224`)

- DataArray coordinates and Dataset coordinates and data variables are
Expand Down Expand Up @@ -118,7 +125,7 @@ Bug fixes
By `Keisuke Fujii <https://github.com/fujiisoup>`_.

- 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 <https://github.com/fujiisoup>`_.

Expand Down

0 comments on commit 93f58a6

Please sign in to comment.