88
99from cbook import is_string_like , enumerate , strip_math , Stack
1010from colors import colorConverter
11- from numerix import array , sqrt , pi , log , asarray , ones , Float
11+ from numerix import array , sqrt , pi , log , asarray , ones , zeros , Float , Float32
12+ from numerix import arange , compress , take
1213from patches import Rectangle
1314from transforms import lbwh_to_bbox , identity_transform
1415
@@ -175,7 +176,9 @@ def draw_point(self, gc, x, y):
175176 """
176177 raise NotImplementedError
177178
178- def draw_quad_mesh (self , meshWidth , meshHeight , colors , xCoords , yCoords , clipbox , transform , offsets , transOffset , showedges ):
179+ def draw_quad_mesh (self , meshWidth , meshHeight , colors ,
180+ xCoords , yCoords , clipbox ,
181+ transform , offsets , transOffset , showedges ):
179182 """
180183 Draw a quadrilateral mesh
181184 See documentation in QuadMesh class in collections.py for details
@@ -197,7 +200,9 @@ def draw_quad_mesh(self, meshWidth, meshHeight, colors, xCoords, yCoords, clipbo
197200 edgecolors = colors
198201 else :
199202 edgecolors = (0 , 0 , 0 , 1 ),
200- draw_poly_collection (self , verts , transform , clipbox , colors , edgecolors , (0.25 ,), (0 ,), offsets , transOffset )
203+ self .draw_poly_collection (verts , transform ,
204+ clipbox , colors , edgecolors ,
205+ (0.25 ,), (0 ,), offsets , transOffset )
201206
202207 def draw_poly_collection (
203208 self , verts , transform , clipbox , facecolors , edgecolors ,
0 commit comments