Skip to content

Commit fc5356b

Browse files
committed
Fix fillna example plot
1 parent 79bf694 commit fc5356b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/examples/weather-data.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,7 @@ fill missing values by group:
112112
both = xray.Dataset({'some_missing': some_missing, 'filled': filled})
113113
both
114114
115+
df = both.sel(time='2000').mean('location').reset_coords(drop=True).to_dataframe()
116+
115117
@savefig examples_filled.png
116-
both.sel(time='2000').mean('location').reset_coords(drop=True).to_dataframe().plot()
118+
df[['filled', 'some_missing']].plot()

0 commit comments

Comments
 (0)