8000 Fix method spelling · matplotlib/matplotlib@e469baa · GitHub
[go: up one dir, main page]

Skip to content

Commit e469baa

Browse files
committed
Fix method spelling
1 parent bcc902e commit e469baa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6232,7 +6232,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
62326232
collection._scale_norm(norm, vmin, vmax)
62336233

62346234
coords = coords.reshape(-1, 2) # flatten the grid structure; keep x, y
6235-
self._update_pocolor_lims(collection, coords)
6235+
self._update_pcolor_lims(collection, coords)
62366236
return collection
62376237

62386238
@_preprocess_data()
@@ -6442,10 +6442,10 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
64426442
collection._scale_norm(norm, vmin, vmax)
64436443

64446444
coords = coords.reshape(-1, 2) # flatten the grid structure; keep x, y
6445-
self._update_pocolor_lims(collection, coords)
6445+
self._update_pcolor_lims(collection, coords)
64466446
return collection
64476447

6448-
def _update_pocolor_lims(self, collection, coords):
6448+
def _update_pcolor_lims(self, collection, coords):
64496449
"""
64506450
Common code for updating lims in pcolor() and pcolormesh() methods.
64516451
"""

0 commit comments

Comments
 (0)
0