@@ -6195,8 +6195,8 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
61956195 # If provided, _pcolorargs will check that X, Y and C have the same shape.
61966196 # Before this check, we need to convert C from shape (K, N, M), where K is
61976197 # the number of variates, to (N, M) with a data type with K fields.
6198- data = mcolorizer ._ensure_multivariate_data (colorizer_obj . norm . n_input ,
6199- args [ - 1 ] )
6198+ data = mcolorizer ._ensure_multivariate_data (args [ - 1 ] ,
6199+ colorizer_obj . norm . n_input )
62006200 args = (* args [:- 1 ], data )
62016201
62026202 X , Y , C , shading = self ._pcolorargs ('pcolor' , * args , shading = shading ,
@@ -6474,8 +6474,8 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
64746474 # If provided, _pcolorargs will check that X, Y and C have the same shape.
64756475 # Before this check, we need to convert C from shape (K, N, M), where K is
64766476 # the number of variates, to (N, M) with a data type with K fields.
6477- data = mcolorizer ._ensure_multivariate_data (colorizer_obj . norm . n_input ,
6478- args [ - 1 ] )
6477+ data = mcolorizer ._ensure_multivariate_data (args [ - 1 ] ,
6478+ colorizer_obj . norm . n_input )
64796479 args = (* args [:- 1 ], data )
64806480
64816481 X , Y , C , shading = self ._pcolorargs ('pcolormesh' , * args ,
0 commit comments