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",