diff --git a/docs/examples/visualization/3_75km_mpas.ipynb b/docs/examples/visualization/3_75km_mpas.ipynb index 90d7e6769..fea38ceb4 100644 --- a/docs/examples/visualization/3_75km_mpas.ipynb +++ b/docs/examples/visualization/3_75km_mpas.ipynb @@ -520,12 +520,13 @@ "source": [ "projection = projection = ccrs.Robinson()\n", "\n", - "uxds[\"relhum_200hPa\"][0].plot.rasterize(\n", - " method=\"point\",\n", + "uxds[\"relhum_200hPa\"][0].plot.points(\n", + " rasterize=True,\n", " projection=projection,\n", " backend=\"matplotlib\",\n", " pixel_ratio=8.0,\n", - " fig_size=400,\n", + " width=800,\n", + " height=400,\n", ") * features(projection)" ] }, @@ -557,12 +558,13 @@ "source": [ "projection = ccrs.Orthographic(central_latitude=90)\n", "\n", - "uxds[\"relhum_200hPa\"][0].plot.rasterize(\n", - " method=\"point\",\n", + "uxds[\"relhum_200hPa\"][0].plot.points(\n", + " rasterize=True,\n", " projection=projection,\n", " backend=\"matplotlib\",\n", " pixel_ratio=8.0,\n", - " fig_size=250,\n", + " width=500,\n", + " height=500,\n", ") * features(projection)" ] }, @@ -1003,12 +1005,13 @@ "source": [ "projection = ccrs.Robinson()\n", "\n", - "uxds[\"vorticity_200hPa\"][0].plot.rasterize(\n", - " method=\"point\",\n", + "uxds[\"vorticity_200hPa\"][0].plot.points(\n", + " rasterize=True,\n", " projection=projection,\n", " backend=\"matplotlib\",\n", " pixel_ratio=8.0,\n", - " fig_size=400,\n", + " width=800,\n", + " height=400,\n", " cmap=\"RdBu\",\n", " clim=(-0.0003, 0.0003),\n", ") * features(projection)" @@ -1042,12 +1045,13 @@ "source": [ "projection = ccrs.Orthographic(central_latitude=90)\n", "\n", - "uxds[\"vorticity_200hPa\"][0].plot.rasterize(\n", - " method=\"point\",\n", + "uxds[\"vorticity_200hPa\"][0].plot.points(\n", + " rasterize=True,\n", " projection=projection,\n", " backend=\"matplotlib\",\n", " pixel_ratio=8.0,\n", - " fig_size=250,\n", + " width=500,\n", + " height=500,\n", " cmap=\"RdBu\",\n", " clim=(-0.0003, 0.0003),\n", ") * features(projection)" diff --git a/docs/examples/visualization/e3sm-load-viz.ipynb b/docs/examples/visualization/e3sm-load-viz.ipynb index 043f20ee6..683e5beae 100644 --- a/docs/examples/visualization/e3sm-load-viz.ipynb +++ b/docs/examples/visualization/e3sm-load-viz.ipynb @@ -13,7 +13,7 @@ "id": "91b118aa-5005-45da-a7f2-6d2d9e2f9f00", "metadata": {}, "source": [ - "This notebook showcases the Department of Energy (DOE)'s global climate model - the [Energy Exascale Earth System Model (E3SM)](https://e3sm.org/)'s output, that is on an unstructured grid, with the use of UXarray's plotting functions, including the basic `.plot()`, `.rasterize()`, and projections. \n", + "This notebook showcases the Department of Energy (DOE)'s global climate model - the [Energy Exascale Earth System Model (E3SM)](https://e3sm.org/)'s output, that is on an unstructured grid, with the use of UXarray's plotting functions, including the basic `.plot()`, the `rasterize=True` option, and projections. \n", "\n", "- E3SM Grid (ne30pg2)\n", " \n", diff --git a/docs/user-guide/plotting.ipynb b/docs/user-guide/plotting.ipynb index 5766849f0..a4ddff23b 100644 --- a/docs/user-guide/plotting.ipynb +++ b/docs/user-guide/plotting.ipynb @@ -169,7 +169,7 @@ "source": [ "### Polygons\n", "\n", - "Face centered data can be visualized as polygons using the ``UxDataArray.polygons()`` method. The geometry of each face is represented as a polygon, shaded with the data variable mapped to it." + "Face centered data can be visualized as polygons using the ``UxDataArray.plot.polygons()`` method. The geometry of each face is represented as a polygon, shaded with the data variable mapped to it." ] }, {