Skip to content

Replace removed plot.rasterize calls in visualization examples - #1890

Open
rajeeja wants to merge 1 commit into
mainfrom
rajeeja/raster-docs-1884
Open

rajeeja wants to merge 1 commit into
mainfrom
rajeeja/raster-docs-1884

Conversation

@rajeeja

@rajeeja rajeeja commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Closes #1884

The 3.75km MPAS example still called UxDataArray.plot.rasterize(method="point"), which no longer exists. The cells now use plot.points(rasterize=True, ...), the same face-center point rasterization the old call did, with fig_size replaced by width/height.

Also drops the stale .rasterize() mention in the E3SM example and fixes UxDataArray.polygons() to UxDataArray.plot.polygons() in the plotting guide.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@erogluorhan
erogluorhan self-requested a review November 10, 2026 20:19

@erogluorhan erogluorhan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this! All looks good to me.

@@ -520,12 +520,13 @@
"source": [

@erogluorhan erogluorhan Nov 10, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #9.        height=500,

Realized this after approving the PR that neither of the height or width is equal to the previously used fig_size value of. 250. That was the case for the first plot above that you made, i.e. height == 400 == fig_size.


Reply via ReviewNB

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking on /glade and refreshing figures needed. Feel free to push.

@erogluorhan
erogluorhan self-requested a review November 10, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readthedocs gallery 3.75km MPAS notebook uses nonexistent arr.plot.rasterize

2 participants