@@ -104,14 +104,14 @@ def _pcolor(self, super_pcolor, *XYC, **kwargs):
104
104
X , Y , C = XYC
105
105
106
106
if "transform" in kwargs :
107
- mesh = super_pcolor (self , X , Y , C , ** kwargs )
107
+ mesh = super_pcolor (X , Y , C , ** kwargs )
108
108
else :
109
109
orig_shape = X .shape
110
110
xyt = np .column_stack ([X .flat , Y .flat ])
111
111
wxy = self .transAux .transform (xyt )
112
112
gx = wxy [:, 0 ].reshape (orig_shape )
113
113
gy = wxy [:, 1 ].reshape (orig_shape )
114
- mesh = super_pcolor (self , gx , gy , C , ** kwargs )
114
+ mesh = super_pcolor (gx , gy , C , ** kwargs )
115
115
mesh .set_transform (self ._parent_axes .transData )
116
116
117
117
return mesh
@@ -138,14 +138,14 @@ def _contour(self, super_contour, *XYCL, **kwargs):
138
138
CL = XYCL [2 :]
139
139
140
140
if "transform" in kwargs :
141
- cont = super_contour (self , X , Y , * CL , ** kwargs )
141
+ cont = super_contour (X , Y , * CL , ** kwargs )
142
142
else :
143
143
orig_shape = X .shape
144
144
xyt = np .column_stack ([X .flat , Y .flat ])
145
145
wxy = self .transAux .transform (xyt )
146
146
gx = wxy [:, 0 ].reshape (orig_shape )
147
147
gy = wxy [:, 1 ].reshape (orig_shape )
148
- cont = super_contour (self , gx , gy , * CL , ** kwargs )
148
+ cont = super_contour (gx , gy , * CL , ** kwargs )
149
149
for c in cont .collections :
150
150
c .set_transform (self ._parent_axes .transData )
151
151
0 commit comments