diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle
index b6149cf2..a7da0889 100644
Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ
diff --git a/.doctrees/examples-dev/sg_execution_times.doctree b/.doctrees/examples-dev/sg_execution_times.doctree
index 4af4320b..14b4b5aa 100644
Binary files a/.doctrees/examples-dev/sg_execution_times.doctree and b/.doctrees/examples-dev/sg_execution_times.doctree differ
diff --git a/.doctrees/examples-dev/voronoi.doctree b/.doctrees/examples-dev/voronoi.doctree
index ffe95216..7013aa2d 100644
Binary files a/.doctrees/examples-dev/voronoi.doctree and b/.doctrees/examples-dev/voronoi.doctree differ
diff --git a/.doctrees/examples/connectivity.doctree b/.doctrees/examples/connectivity.doctree
index 9322920d..661aad47 100644
Binary files a/.doctrees/examples/connectivity.doctree and b/.doctrees/examples/connectivity.doctree differ
diff --git a/.doctrees/examples/overlap_regridder.doctree b/.doctrees/examples/overlap_regridder.doctree
index 457a7b74..7b6bda3c 100644
Binary files a/.doctrees/examples/overlap_regridder.doctree and b/.doctrees/examples/overlap_regridder.doctree differ
diff --git a/.doctrees/examples/partitioning.doctree b/.doctrees/examples/partitioning.doctree
index a5acc377..c7abe74c 100644
Binary files a/.doctrees/examples/partitioning.doctree and b/.doctrees/examples/partitioning.doctree differ
diff --git a/.doctrees/examples/plotting.doctree b/.doctrees/examples/plotting.doctree
index b1e35336..25407f95 100644
Binary files a/.doctrees/examples/plotting.doctree and b/.doctrees/examples/plotting.doctree differ
diff --git a/.doctrees/examples/quick_overview.doctree b/.doctrees/examples/quick_overview.doctree
index 4c2559cc..85067255 100644
Binary files a/.doctrees/examples/quick_overview.doctree and b/.doctrees/examples/quick_overview.doctree differ
diff --git a/.doctrees/examples/regridder_overview.doctree b/.doctrees/examples/regridder_overview.doctree
index 931aa2d6..d75ebe94 100644
Binary files a/.doctrees/examples/regridder_overview.doctree and b/.doctrees/examples/regridder_overview.doctree differ
diff --git a/.doctrees/examples/selection.doctree b/.doctrees/examples/selection.doctree
index 55f0dd1d..61be60b1 100644
Binary files a/.doctrees/examples/selection.doctree and b/.doctrees/examples/selection.doctree differ
diff --git a/.doctrees/examples/sg_execution_times.doctree b/.doctrees/examples/sg_execution_times.doctree
index 4126e317..ac5568cd 100644
Binary files a/.doctrees/examples/sg_execution_times.doctree and b/.doctrees/examples/sg_execution_times.doctree differ
diff --git a/.doctrees/examples/vector_conversion.doctree b/.doctrees/examples/vector_conversion.doctree
index 4c33eaaf..c6f4ec2e 100644
Binary files a/.doctrees/examples/vector_conversion.doctree and b/.doctrees/examples/vector_conversion.doctree differ
diff --git a/.doctrees/sample_data/adh_san_diego.doctree b/.doctrees/sample_data/adh_san_diego.doctree
index 5bfe58ea..8d625e3a 100644
Binary files a/.doctrees/sample_data/adh_san_diego.doctree and b/.doctrees/sample_data/adh_san_diego.doctree differ
diff --git a/.doctrees/sample_data/disk.doctree b/.doctrees/sample_data/disk.doctree
index 5eacb953..1f6838b3 100644
Binary files a/.doctrees/sample_data/disk.doctree and b/.doctrees/sample_data/disk.doctree differ
diff --git a/.doctrees/sample_data/elevation_nl.doctree b/.doctrees/sample_data/elevation_nl.doctree
index a412f786..9feb6ea0 100644
Binary files a/.doctrees/sample_data/elevation_nl.doctree and b/.doctrees/sample_data/elevation_nl.doctree differ
diff --git a/.doctrees/sample_data/sg_execution_times.doctree b/.doctrees/sample_data/sg_execution_times.doctree
index f1a623f1..6411a962 100644
Binary files a/.doctrees/sample_data/sg_execution_times.doctree and b/.doctrees/sample_data/sg_execution_times.doctree differ
diff --git a/.doctrees/sg_execution_times.doctree b/.doctrees/sg_execution_times.doctree
index 79bc882c..11a398db 100644
Binary files a/.doctrees/sg_execution_times.doctree and b/.doctrees/sg_execution_times.doctree differ
diff --git a/_downloads/1da8bbc63e9e34158260eadd1533549c/quick_overview.zip b/_downloads/1da8bbc63e9e34158260eadd1533549c/quick_overview.zip
index 01f03657..92ff33eb 100644
Binary files a/_downloads/1da8bbc63e9e34158260eadd1533549c/quick_overview.zip and b/_downloads/1da8bbc63e9e34158260eadd1533549c/quick_overview.zip differ
diff --git a/_downloads/2dbba5ebb6d2057d196983a008981162/voronoi.zip b/_downloads/2dbba5ebb6d2057d196983a008981162/voronoi.zip
index 7c851bb1..cd3a8382 100644
Binary files a/_downloads/2dbba5ebb6d2057d196983a008981162/voronoi.zip and b/_downloads/2dbba5ebb6d2057d196983a008981162/voronoi.zip differ
diff --git a/_downloads/37998fdc2548b23faf513b314db93d21/regridder_overview.zip b/_downloads/37998fdc2548b23faf513b314db93d21/regridder_overview.zip
index 3c1f48b0..8316274a 100644
Binary files a/_downloads/37998fdc2548b23faf513b314db93d21/regridder_overview.zip and b/_downloads/37998fdc2548b23faf513b314db93d21/regridder_overview.zip differ
diff --git a/_downloads/3e8af3e56da80727f8440a5b5f94f5cb/disk.zip b/_downloads/3e8af3e56da80727f8440a5b5f94f5cb/disk.zip
index 1e81b82f..3c21316e 100644
Binary files a/_downloads/3e8af3e56da80727f8440a5b5f94f5cb/disk.zip and b/_downloads/3e8af3e56da80727f8440a5b5f94f5cb/disk.zip differ
diff --git a/_downloads/3eb350a8b54f214b88c5181e546a155e/adh_san_diego.zip b/_downloads/3eb350a8b54f214b88c5181e546a155e/adh_san_diego.zip
index 6e987382..7565707d 100644
Binary files a/_downloads/3eb350a8b54f214b88c5181e546a155e/adh_san_diego.zip and b/_downloads/3eb350a8b54f214b88c5181e546a155e/adh_san_diego.zip differ
diff --git a/_downloads/422003fc9b51482872f8f3701ce47abe/provinces_nl.zip b/_downloads/422003fc9b51482872f8f3701ce47abe/provinces_nl.zip
index 5a717fec..300b93e8 100644
Binary files a/_downloads/422003fc9b51482872f8f3701ce47abe/provinces_nl.zip and b/_downloads/422003fc9b51482872f8f3701ce47abe/provinces_nl.zip differ
diff --git a/_downloads/43d7b47db560c8c70c383a84a444ed83/connectivity.zip b/_downloads/43d7b47db560c8c70c383a84a444ed83/connectivity.zip
index bb74450f..3d07fa9f 100644
Binary files a/_downloads/43d7b47db560c8c70c383a84a444ed83/connectivity.zip and b/_downloads/43d7b47db560c8c70c383a84a444ed83/connectivity.zip differ
diff --git a/_downloads/90d50f8fc21b6ec5d818d26f7955df8a/overlap_regridder.zip b/_downloads/90d50f8fc21b6ec5d818d26f7955df8a/overlap_regridder.zip
index e62d8d05..e229dae0 100644
Binary files a/_downloads/90d50f8fc21b6ec5d818d26f7955df8a/overlap_regridder.zip and b/_downloads/90d50f8fc21b6ec5d818d26f7955df8a/overlap_regridder.zip differ
diff --git a/_downloads/97eabe2c66fc9328b1e51f27fdee52f6/partitioning.zip b/_downloads/97eabe2c66fc9328b1e51f27fdee52f6/partitioning.zip
index 8d7f40e8..c797a72d 100644
Binary files a/_downloads/97eabe2c66fc9328b1e51f27fdee52f6/partitioning.zip and b/_downloads/97eabe2c66fc9328b1e51f27fdee52f6/partitioning.zip differ
diff --git a/_downloads/9be12df0ec6c323839ed0cb99cc89228/elevation_nl.zip b/_downloads/9be12df0ec6c323839ed0cb99cc89228/elevation_nl.zip
index fa2de4a4..64c25d09 100644
Binary files a/_downloads/9be12df0ec6c323839ed0cb99cc89228/elevation_nl.zip and b/_downloads/9be12df0ec6c323839ed0cb99cc89228/elevation_nl.zip differ
diff --git a/_downloads/a50ba9731493d1c74010dcadb8694b20/selection.zip b/_downloads/a50ba9731493d1c74010dcadb8694b20/selection.zip
index ac51c123..b98aa5ad 100644
Binary files a/_downloads/a50ba9731493d1c74010dcadb8694b20/selection.zip and b/_downloads/a50ba9731493d1c74010dcadb8694b20/selection.zip differ
diff --git a/_downloads/cc393383c363f7c590c6ef714836f52a/xoxo.zip b/_downloads/cc393383c363f7c590c6ef714836f52a/xoxo.zip
index 3779ada2..2e8489da 100644
Binary files a/_downloads/cc393383c363f7c590c6ef714836f52a/xoxo.zip and b/_downloads/cc393383c363f7c590c6ef714836f52a/xoxo.zip differ
diff --git a/_downloads/d2379110fee2f2fbaf724f0142daaa8d/plotting.zip b/_downloads/d2379110fee2f2fbaf724f0142daaa8d/plotting.zip
index d5d73036..76ab5a88 100644
Binary files a/_downloads/d2379110fee2f2fbaf724f0142daaa8d/plotting.zip and b/_downloads/d2379110fee2f2fbaf724f0142daaa8d/plotting.zip differ
diff --git a/_downloads/f25be90ee220882246ef4778e276e863/vector_conversion.zip b/_downloads/f25be90ee220882246ef4778e276e863/vector_conversion.zip
index b757e3a5..95b64fef 100644
Binary files a/_downloads/f25be90ee220882246ef4778e276e863/vector_conversion.zip and b/_downloads/f25be90ee220882246ef4778e276e863/vector_conversion.zip differ
diff --git a/_sources/examples-dev/sg_execution_times.rst.txt b/_sources/examples-dev/sg_execution_times.rst.txt
index c44c8845..8517a7b6 100644
--- a/_sources/examples-dev/sg_execution_times.rst.txt
+++ b/_sources/examples-dev/sg_execution_times.rst.txt
@@ -6,7 +6,7 @@
Computation times
=================
-**00:01.381** total execution time for 1 file **from examples-dev**:
+**00:01.356** total execution time for 1 file **from examples-dev**:
.. container::
@@ -33,5 +33,5 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples-dev_voronoi.py` (``voronoi.py``)
- - 00:01.381
+ - 00:01.356
- 0.0
diff --git a/_sources/examples-dev/voronoi.rst.txt b/_sources/examples-dev/voronoi.rst.txt
index 365c1bb0..001c2ce9 100644
--- a/_sources/examples-dev/voronoi.rst.txt
+++ b/_sources/examples-dev/voronoi.rst.txt
@@ -666,7 +666,7 @@ The figure shows:
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 1.381 seconds)
+ **Total running time of the script:** (0 minutes 1.356 seconds)
.. _sphx_glr_download_examples-dev_voronoi.py:
diff --git a/_sources/examples/connectivity.rst.txt b/_sources/examples/connectivity.rst.txt
index a2b1f580..f954c9f6 100644
--- a/_sources/examples/connectivity.rst.txt
+++ b/_sources/examples/connectivity.rst.txt
@@ -129,7 +129,7 @@ By default, the border value for binary erosion is set to ``False`` (equal to
.. code-block:: none
- 00:01.381 total execution time for 1 file from examples-dev: 00:01.356 total execution time for 1 file from examples-dev: The topology is equivalent, but the nodes, edges, and faces are in a
@@ -1287,9 +1287,9 @@ <xarray.DataArray 'elevation' (mesh2d_nFaces: 5248)> Size: 5kB
array([False, False, False, ..., False, False, False])
Coordinates:
- * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
+ * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
@@ -1068,9 +1068,9 @@ original topology. ``reindex_like`` looks at the coordinates of both
Coordinates:
mesh2d_face_x (mesh2d_nFaces) float64 42kB 2.388e+04 1.86e+05 ... 3.03e+04
mesh2d_face_y (mesh2d_nFaces) float64 42kB 3.648e+05 ... 3.964e+05
- * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
+ * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
@@ -1473,9 +1473,9 @@ reorder the data after merging.
Coordinates:
mesh2d_face_x (mesh2d_nFaces) float64 42kB 2.388e+04 1.86e+05 ... 3.03e+04
mesh2d_face_y (mesh2d_nFaces) float64 42kB 3.648e+05 ... 3.964e+05
- * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
+ * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
@@ -1492,7 +1492,7 @@ partitions.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 3.895 seconds)
+ **Total running time of the script:** (0 minutes 3.867 seconds)
.. _sphx_glr_download_examples_partitioning.py:
diff --git a/_sources/examples/plotting.rst.txt b/_sources/examples/plotting.rst.txt
index 65083afa..8790fc13 100644
--- a/_sources/examples/plotting.rst.txt
+++ b/_sources/examples/plotting.rst.txt
@@ -451,13 +451,13 @@ faces.
<xarray.Dataset> Size: 19kB
Dimensions: (mesh2d_nNodes: 217, mesh2d_nFaces: 384, mesh2d_nEdges: 600)
Coordinates:
+ * mesh2d_nFaces (mesh2d_nFaces) int64 3kB 0 1 2 3 4 5 ... 379 380 381 382 383
* mesh2d_nEdges (mesh2d_nEdges) int64 5kB 0 1 2 3 4 5 ... 595 596 597 598 599
* mesh2d_nNodes (mesh2d_nNodes) int64 2kB 0 1 2 3 4 5 ... 212 213 214 215 216
- * mesh2d_nFaces (mesh2d_nFaces) int64 3kB 0 1 2 3 4 5 ... 379 380 381 382 383
Data variables:
node_z (mesh2d_nNodes) float64 2kB 1.933 2.091 1.875 ... 5.688 7.491
face_z (mesh2d_nFaces) float64 3kB 1.737 1.918 2.269 ... 5.408 6.424
- edge_z (mesh2d_nEdges) float64 5kB 1.989 1.875 1.8 ... 4.909 6.544
PandasIndex(RangeIndex(start=0, stop=384, step=1, name='mesh2d_nFaces'))
PandasIndex(RangeIndex(start=0, stop=600, step=1, name='mesh2d_nEdges'))
PandasIndex(RangeIndex(start=0, stop=217, step=1, name='mesh2d_nNodes'))
@@ -612,7 +612,7 @@ Dataset and calling the :py:meth:`UgridDataArray.ugrid.plot()` method.
.. code-block:: none
-
@@ -921,7 +921,7 @@ separate the variables:
* node (node) int64 73kB 0 1 2 3 4 5 6 ... 9134 9135 9136 9137 9138 9139
Data variables:
elevation (node) float64 73kB ...
- depth (time, node) float64 4MB ...
@@ -1364,7 +1364,7 @@ We can then grab one of the data variables as usual for xarray:
Coordinates:
node_x (node) float64 73kB ...
node_y (node) float64 73kB ...
- * node (node) int64 73kB 0 1 2 3 4 5 6 ... 9134 9135 9136 9137 9138 9139
+ * node (node) int64 73kB 0 1 2 3 4 5 6 ... 9134 9135 9136 9137 9138 9139
@@ -1775,7 +1775,7 @@ some data by hand here:
<xarray.DataArray (mesh2d_nFaces: 2)> Size: 16B
array([1., 2.])
Coordinates:
- * mesh2d_nFaces (mesh2d_nFaces) int64 16B 0 1
+ * mesh2d_nFaces (mesh2d_nFaces) int64 16B 0 1
@@ -1813,7 +1813,7 @@ Plotting
.. code-block:: none
- <xarray.DataArray (mesh2d_nFaces: 2)> Size: 16B
array([11., 12.])
Coordinates:
- * mesh2d_nFaces (mesh2d_nFaces) int64 16B 0 1
+ * mesh2d_nFaces (mesh2d_nFaces) int64 16B 0 1
@@ -2726,7 +2726,7 @@ Conversion from Geopandas is easy too:
Coordinates:
* mesh2d_nFaces (mesh2d_nFaces) int64 16B 0 1
Data variables:
- test (mesh2d_nFaces) float64 16B 1.0 2.0
+ test (mesh2d_nFaces) float64 16B 1.0 2.0
@@ -3123,13 +3123,13 @@ grid (nodes, faces, edges).
<xarray.Dataset> Size: 19kB
Dimensions: (mesh2d_nNodes: 217, mesh2d_nFaces: 384, mesh2d_nEdges: 600)
Coordinates:
+ * mesh2d_nFaces (mesh2d_nFaces) int64 3kB 0 1 2 3 4 5 ... 379 380 381 382 383
* mesh2d_nEdges (mesh2d_nEdges) int64 5kB 0 1 2 3 4 5 ... 595 596 597 598 599
* mesh2d_nNodes (mesh2d_nNodes) int64 2kB 0 1 2 3 4 5 ... 212 213 214 215 216
- * mesh2d_nFaces (mesh2d_nFaces) int64 3kB 0 1 2 3 4 5 ... 379 380 381 382 383
Data variables:
node_z (mesh2d_nNodes) float64 2kB 1.933 2.091 1.875 ... 5.688 7.491
face_z (mesh2d_nFaces) float64 3kB 1.737 1.918 2.269 ... 5.408 6.424
- edge_z (mesh2d_nEdges) float64 5kB 1.989 1.875 1.8 ... 4.909 6.544
PandasIndex(RangeIndex(start=0, stop=384, step=1, name='mesh2d_nFaces'))
PandasIndex(RangeIndex(start=0, stop=600, step=1, name='mesh2d_nEdges'))
PandasIndex(RangeIndex(start=0, stop=217, step=1, name='mesh2d_nNodes'))
@@ -3642,7 +3642,7 @@ a grid object:
<xarray.Dataset> Size: 0B
Dimensions: ()
Data variables:
- *empty*
+ *empty*
@@ -4038,7 +4038,7 @@ We can then add variables one-by-one, as we might with an xarray Dataset:
node_y (node) float64 73kB ...
* node (node) int64 73kB 0 1 2 3 4 5 6 ... 9134 9135 9136 9137 9138 9139
Data variables:
- elevation (node) float64 73kB ...
+ elevation (node) float64 73kB ...
@@ -4444,7 +4444,7 @@ before writing.
elevation (node) float64 73kB ...
depth (time, node) float64 4MB ...
Attributes:
- Conventions: CF-1.9 UGRID-1.0
@@ -4505,7 +4505,7 @@ before writing.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 0.577 seconds)
+ **Total running time of the script:** (0 minutes 0.504 seconds)
.. _sphx_glr_download_examples_quick_overview.py:
diff --git a/_sources/examples/regridder_overview.rst.txt b/_sources/examples/regridder_overview.rst.txt
index 31d93132..f885e743 100644
--- a/_sources/examples/regridder_overview.rst.txt
+++ b/_sources/examples/regridder_overview.rst.txt
@@ -79,7 +79,7 @@ elevation of the Netherlands.
.. code-block:: none
- [5248 values with dtype=float64]
[5248 values with dtype=float64]
array([1, 2, 3, 4, 5])
array([ 0, 1, 2, ..., 5245, 5246, 5247])
PandasIndex(Index([1, 2, 3, 4, 5], dtype='int64', name='layer'))
PandasIndex(RangeIndex(start=0, stop=5248, step=1, name='mesh2d_nFaces'))
@@ -1153,7 +1153,7 @@ all additional dimensions.
-45.92794405, -39.50867478]])
Coordinates:
* layer (layer) int64 40B 1 2 3 4 5
- * mesh2d_nFaces (mesh2d_nFaces) int64 784B 0 1 2 3 4 5 ... 92 93 94 95 96 97PandasIndex(Index([1, 2, 3, 4, 5], dtype='int64', name='layer'))
PandasIndex(RangeIndex(start=0, stop=98, step=1, name='mesh2d_nFaces'))
@@ -1235,7 +1235,7 @@ and the aggregated mean.
.. code-block:: none
- [
@@ -1068,7 +1068,7 @@ of six points:
mesh2d_x (mesh2d_nFaces) float64 48B 1.25e+05 1.5e+05 ... 1.75e+05
mesh2d_y (mesh2d_nFaces) float64 48B 4e+05 4e+05 ... 4.65e+05 4.65e+05
Attributes:
- unit: m NAP
+ unit: m NAP
@@ -1475,7 +1475,7 @@ To select points without broadcasting, use ``.ugrid.sel_points`` instead:
mesh2d_x (mesh2d_nFaces) float64 24B 1.25e+05 1.5e+05 1.75e+05
mesh2d_y (mesh2d_nFaces) float64 24B 4e+05 4.3e+05 4.65e+05
Attributes:
- unit: m NAP
+ unit: m NAP
@@ -1880,9 +1880,9 @@ We can sample points along a line as well by providing slices **with** a step:
mesh2d_x (mesh2d_nFaces) float64 80B 1e+05 1.1e+05 ... 1.8e+05 1.9e+05
mesh2d_y (mesh2d_nFaces) float64 80B 4.65e+05 4.65e+05 ... 4.65e+05
Attributes:
- unit: m NAP
+ unit: m NAP
@@ -2289,7 +2289,7 @@ Two slices with a step results in broadcasting:
mesh2d_x (mesh2d_nFaces) float64 800B 1e+05 1.1e+05 ... 1.9e+05
mesh2d_y (mesh2d_nFaces) float64 800B 4e+05 4e+05 ... 4.9e+05 4.9e+05
Attributes:
- unit: m NAP
@@ -2744,15 +2744,15 @@ As well as a slice with a step and multiple values:
mesh2d_x (mesh2d_nFaces) float64 160B 1e+05 1.1e+05 ... 1.9e+05
mesh2d_y (mesh2d_nFaces) float64 160B 4e+05 4e+05 ... 4.3e+05 4.3e+05
Attributes:
- unit: m NAP
@@ -2936,7 +2936,7 @@ thousands faces:
.. code-block:: none
-
@@ -583,7 +583,7 @@ burn into the grid.
.. code-block:: none
- array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11.])
PandasIndex(Index([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0], dtype='float64', name='id'))
@@ -1089,7 +1089,7 @@ We can also use such "masks" to e.g. modify specific parts of the grid data:
.. code-block:: none
- Computation times#
-<xarray.DataArray 'elevation' (mesh2d_nFaces: 5248)> Size: 5kB
array([False, False, False, ..., False, False, False])
Coordinates:
- * mesh2d_nFaces (mesh2d_nFaces) int64 42kB 0 1 2 3 4 ... 5244 5245 5246 5247
Preserving orderTotal running time of the script: (0 minutes 3.895 seconds)
Total running time of the script: (0 minutes 3.867 seconds)
<matplotlib.collections.PolyCollection object at 0x7f1b40354d10>
+<matplotlib.collections.PolyCollection object at 0x7fcc8c285f10>
Like Xarray, the axes and the colorbar are labeled automatically using the
@@ -985,7 +985,7 @@
UgridDataArrayds["edge_z"].ugrid.plot()
<matplotlib.collections.LineCollection object at 0x7f1b4081a2a0>
+<matplotlib.collections.LineCollection object at 0x7fcc817ba900>
The method called by default depends on the type of the data:
@@ -1015,7 +1015,7 @@ UgridDataArrayds["node_z"].ugrid.plot(ax=ax2)
<matplotlib.collections.PolyCollection object at 0x7f1b40830e00>
+<matplotlib.collections.PolyCollection object at 0x7fcc83277200>
We can also exactly control the type of plot we want. For example, to plot
@@ -1023,7 +1023,7 @@
UgridDataArrayds["face_z"].ugrid.plot.contourf()
<matplotlib.tri._tricontour.TriContourSet object at 0x7f1b4161a870>
+<matplotlib.tri._tricontour.TriContourSet object at 0x7fcc8c1773e0>
We can also overlay this data with the edges:
@@ -1032,7 +1032,7 @@ UgridDataArrayds["face_z"].ugrid.plot.line(color="black")
<matplotlib.collections.LineCollection object at 0x7f1b3ffdbc20>
+<matplotlib.collections.LineCollection object at 0x7fcc8b30cb90>
In general, there has to be data associated with the mesh topology before a
@@ -1083,7 +1083,7 @@
Other types of plotds["node_z"].ugrid.plot.scatter(ax=axes[4, 2])
<matplotlib.collections.PathCollection object at 0x7f1b4a5b2480>
+<matplotlib.collections.PathCollection object at 0x7fcc8b30f590>
The surface
methods generate 3D surface plots:
@@ -1094,7 +1094,7 @@ Other types of plotds["node_z"].ugrid.plot.surface(ax=ax1)
<mpl_toolkits.mplot3d.art3d.Poly3DCollection object at 0x7f1b40bef260>
+<mpl_toolkits.mplot3d.art3d.Poly3DCollection object at 0x7fcc814c9520>
@@ -1106,7 +1106,7 @@ Additional Argumentsds["face_z"].ugrid.plot(cmap="RdBu", levels=8, yincrease=False)
<matplotlib.collections.PolyCollection object at 0x7f1b40a29bb0>
+<matplotlib.collections.PolyCollection object at 0x7fcc826e6270>
@@ -1120,7 +1120,7 @@ As a functionxugrid.plot.pcolormesh(grid, da)
<matplotlib.collections.PolyCollection object at 0x7f1b401d1bb0>
+<matplotlib.collections.PolyCollection object at 0x7fcc8226a900>
@@ -1134,10 +1134,10 @@ Xarray DataArray plotsdepth.isel(node=1000).plot()
[<matplotlib.lines.Line2D object at 0x7f1b40d37ad0>]
+[<matplotlib.lines.Line2D object at 0x7fcc8b8e4e60>]
-Total running time of the script: (0 minutes 13.822 seconds)
+Total running time of the script: (0 minutes 14.061 seconds)