@@ -6208,8 +6208,8 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
62086208 # If provided, _pcolorargs will check that X, Y and C have the same shape.
62096209 # Before this check, we need to convert C from shape (K, N, M), where K is
62106210 # the number of variates, to (N, M) with a data type with K fields.
6211- data = mcolorizer ._ensure_multivariate_data (colorizer_obj . norm . n_input ,
6212- args [ - 1 ] )
6211+ data = mcolorizer ._ensure_multivariate_data (args [ - 1 ] ,
6212+ colorizer_obj . norm . n_input )
62136213 args = (* args [:- 1 ], data )
62146214
62156215 X , Y , C , shading = self ._pcolorargs ('pcolor' , * args , shading = shading ,
@@ -6465,8 +6465,8 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
64656465 # If provided, _pcolorargs will check that X, Y and C have the same shape.
64666466 # Before this check, we need to convert C from shape (K, N, M), where K is
64676467 # the number of variates, to (N, M) with a data type with K fields.
6468- data = mcolorizer ._ensure_multivariate_data (colorizer_obj . norm . n_input ,
6469- args [ - 1 ] )
6468+ data = mcolorizer ._ensure_multivariate_data (args [ - 1 ] ,
6469+ colorizer_obj . norm . n_input )
64706470 args = (* args [:- 1 ], data )
64716471
64726472 X , Y , C , shading = self ._pcolorargs ('pcolormesh' , * args ,
0 commit comments