Skip to content

Commit

Permalink
Merge pull request #705 from xylar/fix-isomip-plus-plotting
Browse files Browse the repository at this point in the history
Fix ISOMIP+ plotting
  • Loading branch information
xylar authored Sep 28, 2023
2 parents 33592a1 + 2558326 commit dc381b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compass/ocean/tests/isomip_plus/viz/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ def _compute_cell_patches(dsMesh, mask):
vertices[:, 0] = 1e-3 * xVertex[vertexIndices]
vertices[:, 1] = 1e-3 * yVertex[vertexIndices]

polygon = Polygon(vertices, True)
polygon = Polygon(vertices, closed=True)
patches.append(polygon)

p = PatchCollection(patches, alpha=1.)
Expand Down

0 comments on commit dc381b5

Please sign in to comment.