Merge pull request #24612 from meeseeksmachine/auto-backport-of-pr-23… · matplotlib/matplotlib@c352fca · GitHub
Skip to content

Commit c352fca

Browse files
authored
Merge pull request #24612 from meeseeksmachine/auto-backport-of-pr-23868-on-v3.6.x
Backport PR #23868 on branch v3.6.x (Show errors and warnings in doc CI after build.)
2 parents b6b731e + 9dbb38d commit c352fca

3 files changed

Lines changed: 27 additions & 9 deletions

File tree

.circleci/config.yml

Lines changed: 21 additions & 1 deletion

examples/images_contours_and_fields/pcolormesh_grids.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ def _annotate(ax, x, y, title):
5454
# -----------------------------
5555
#
5656
# Often, however, data is provided where *X* and *Y* match the shape of *Z*.
57-
# While this makes sense for other ``shading`` types, it is no longer permitted
58-
# when ``shading='flat'`` (and will raise a MatplotlibDeprecationWarning as of
59-
# Matplotlib v3.3). Historically, Matplotlib silently dropped the last row and
60-
# column of *Z* in this case, to match Matlab's behavior. If this behavior is
61-
# still desired, simply drop the last row and column manually:
57+
# While this makes sense for other ``shading`` types, it is not permitted
58+
# when ``shading='flat'``. Historically, Matplotlib silently dropped the last
59+
# row and column of *Z* in this case, to match Matlab's behavior. If this
60+
# behavior is still desired, simply drop the last row and column manually:
6261

6362
x = np.arange(ncols) # note *not* ncols + 1 as before
6463
y = np.arange(nrows)

examples/images_contours_and_fields/pcolormesh_levels.py

Lines changed: 2 additions & 3 deletions

0 commit comments

Comments
 (0)