From 27cf1836649f22ef3cd1765aca50bc8db1571ebf Mon Sep 17 00:00:00 2001 From: Keewis Date: Sun, 22 Sep 2019 19:44:18 +0200 Subject: [PATCH] make sure the new scatter function appears in api.rst --- doc/api.rst | 2 +- xarray/plot/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index 256a1dbf3af..eb214142fb5 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -610,7 +610,7 @@ Plotting Dataset.plot DataArray.plot - Dataset.plot.scatter + plot.scatter plot.plot plot.contourf plot.contour diff --git a/xarray/plot/__init__.py b/xarray/plot/__init__.py index c3333acf7f5..ce8875ff282 100644 --- a/xarray/plot/__init__.py +++ b/xarray/plot/__init__.py @@ -1,7 +1,9 @@ from .facetgrid import FacetGrid from .plot import contour, contourf, hist, imshow, line, pcolormesh, plot, step +from .dataset_plot import scatter __all__ = [ + "scatter", "plot", "line", "step",