Skip to content

Commit

Permalink
fix issues with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mesejo committed Jan 17, 2021
1 parent f17acdc commit e85c249
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/groupby.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ applying your function, and then unstacking the result:
.. ipython:: python
stacked = da.stack(gridcell=["ny", "nx"])
stacked.groupby("gridcell").sum(...).unstack("gridcell")
stacked.groupby("gridcell").sum(...).unstack("gridcell")
2 changes: 1 addition & 1 deletion doc/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,4 @@ re-open it directly with Zarr:
zgroup = zarr.open("rasm.zarr")
print(zgroup.tree())
dict(zgroup["Tair"].attrs)
dict(zgroup["Tair"].attrs)
2 changes: 1 addition & 1 deletion doc/interpolation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,4 @@ The remapping can be done as follows
dsi = ds.interp(lon=lon, lat=lat)
dsi.air.plot(ax=axes[1])
@savefig interpolation_sample4.png width=8in
axes[1].set_title("Remapped data")
axes[1].set_title("Remapped data")
2 changes: 1 addition & 1 deletion doc/plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -955,4 +955,4 @@ One can also make line plots with multidimensional coordinates. In this case, ``
f, ax = plt.subplots(2, 1)
da.plot.line(x="lon", hue="y", ax=ax[0])
@savefig plotting_example_2d_hue_xy.png
da.plot.line(x="lon", hue="x", ax=ax[1])
da.plot.line(x="lon", hue="x", ax=ax[1])
2 changes: 1 addition & 1 deletion doc/reshaping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,4 @@ As a shortcut, you can refer to existing coordinates by name:
ds.sortby("x")
ds.sortby(["y", "x"])
ds.sortby(["y", "x"], ascending=False)
ds.sortby(["y", "x"], ascending=False)

0 comments on commit e85c249

Please sign in to comment.