@@ -221,7 +221,7 @@ def draw_markers(self, gc, marker_path, marker_trans, path,
221221 rgbFace )
222222
223223 def draw_path_collection (self , gc , master_transform , paths , all_transforms ,
224- offsets , offsetTrans , facecolors , edgecolors ,
224+ offsets , offset_trans , facecolors , edgecolors ,
225225 linewidths , linestyles , antialiaseds , urls ,
226226 offset_position ):
227227 """
@@ -230,7 +230,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
230230 Each path is first transformed by the corresponding entry
231231 in *all_transforms* (a list of (3, 3) matrices) and then by
232232 *master_transform*. They are then translated by the corresponding
233- entry in *offsets*, which has been first transformed by *offsetTrans *.
233+ entry in *offsets*, which has been first transformed by *offset_trans *.
234234
235235 *facecolors*, *edgecolors*, *linewidths*, *linestyles*, and
236236 *antialiased* are lists that set the corresponding properties.
@@ -251,7 +251,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
251251 paths , all_transforms )
252252
253253 for xo , yo , path_id , gc0 , rgbFace in self ._iter_collection (
254- gc , list (path_ids ), offsets , offsetTrans ,
254+ gc , list (path_ids ), offsets , offset_trans ,
255255 facecolors , edgecolors , linewidths , linestyles ,
256256 antialiaseds , urls , offset_position ):
257257 path , transform = path_id
@@ -367,7 +367,7 @@ def _iter_collection_uses_per_path(self, paths, all_transforms,
367367 N = max (Npath_ids , len (offsets ))
368368 return (N + Npath_ids - 1 ) // Npath_ids
369369
370- def _iter_collection (self , gc , path_ids , offsets , offsetTrans , facecolors ,
370+ def _iter_collection (self , gc , path_ids , offsets , offset_trans , facecolors ,
371371 edgecolors , linewidths , linestyles ,
372372 antialiaseds , urls , offset_position ):
373373 """
@@ -413,7 +413,7 @@ def cycle_or_default(seq, default=None):
413413 else itertools .repeat (default ))
414414
415415 pathids = cycle_or_default (path_ids )
416- toffsets = cycle_or_default (offsetTrans .transform (offsets ), (0 , 0 ))
416+ toffsets = cycle_or_default (offset_trans .transform (offsets ), (0 , 0 ))
417417 fcs = cycle_or_default (facecolors )
418418 ecs = cycle_or_default (edgecolors )
419419 lws = cycle_or_default (linewidths )
0 commit comments