Skip to content

Commit ae5733e

Browse files
committed
Doc fixes for v0.6.1
1 parent c827911 commit ae5733e

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

doc/plotting.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ since levels are chosen automatically).
314314
@savefig plotting_seaborn_palette.png width=4in
315315
air2d.plot(levels=10, cmap='husl')
316316
317+
.. _plotting.faceting:
317318

318319
Faceting
319320
--------
@@ -415,10 +416,7 @@ they have been plotted.
415416

416417
.. ipython:: python
417418
418-
g = (xray.plot
419-
.FacetGrid(t, col='time', col_wrap=3)
420-
.map_dataarray(xray.plot.imshow, 'lon', 'lat', robust=True)
421-
)
419+
g = t.plot.imshow('lon', 'lat', col='time', col_wrap=3, robust=True)
422420
423421
for i, ax in enumerate(g.axes.flat):
424422
ax.set_title('Air Temperature %d' % i)

doc/whats-new.rst

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ What's New
1212
v0.6.1
1313
------
1414

15-
This pull request contains a number of bug and compatibility fixes, as well
16-
as enhancements to indexing, plotting and writing files to disk.
15+
This release contains a number of bug and compatibility fixes, as well
16+
as enhancements to plotting, indexing and writing files to disk.
1717

1818
Note that the minimum required version of dask for use with xray is now
1919
version 0.6.
@@ -30,9 +30,12 @@ API Changes
3030
Enhancements
3131
~~~~~~~~~~~~
3232

33+
- Faceted plotting through :py:class:`~xray.plot.FacetGrid` and the
34+
:py:meth:`~xray.plot.plot` method. See :ref:`plotting.faceting` for more details
35+
and examples.
3336
- :py:meth:`~xray.Dataset.sel` and :py:meth:`~xray.Dataset.reindex` now support
3437
the ``tolerance`` argument for controlling nearest-neighbor selection
35-
(:issue:`629`)::
38+
(:issue:`629`):
3639

3740
.. ipython::
3841
:verbatim:
@@ -47,8 +50,6 @@ Enhancements
4750
* x (x) float64 0.9 1.5
4851

4952
This feature requires pandas v0.17 or newer.
50-
- Faceted plotting through :py:class:`~xray.plot.FacetGrid` and the
51-
:py:meth:`~xray.plot.plot` method.
5253
- New ``encoding`` argument in :py:meth:`~xray.Dataset.to_netcdf` for writing
5354
netCDF files with compression, as described in the new documentation
5455
section on :ref:`io.netcdf.writing_encoded`.
@@ -81,6 +82,18 @@ Bug fixes
8182
decoding (:issue:`610`).
8283
- Compatibility with numpy 1.10 (:issue:`617`).
8384

85+
Acknowledgments
86+
~~~~~~~~~~~~~~~
87+
88+
The following individuals contributed to this release:
89+
90+
- Ryan Abernathey
91+
- Pete Cable
92+
- Clark Fitzgerald
93+
- Joe Hamman
94+
- Stephan Hoyer
95+
- Scott Sinclair
96+
8497
v0.6.0 (21 August 2015)
8598
-----------------------
8699

0 commit comments

Comments
 (0)