def draw_quad_mesh(self, master_transform, cliprect, clippath,<EOL>clippath_trans, meshWidth, meshHeight, coordinates,<EOL>offsets, offsetTrans, facecolors, antialiased,<EOL>showedges):
from matplotlib.collections import QuadMesh<EOL>paths = QuadMesh.convert_mesh_to_paths(<EOL>meshWidth, meshHeight, coordinates)<EOL>if showedges:<EOL><INDENT>edgecolors = np.array([[<NUM_LIT:0.0>, <NUM_LIT:0.0>, <NUM_LIT:0.0>, <NUM_LIT:1.0>]], np.float_)<EOL>linewidths = np.array([<NUM_LIT:1.0>], np.float_)<EOL><DEDENT>else:<EOL><INDENT>edgecolors = facecolors<EOL>linewidths = np.array([<NUM_LIT:0.0>], np.float_)<EOL><DEDENT>return self.draw_path_collection(<EOL>master_transform, cliprect, clippath, clippath_trans,<EOL>paths, [], offsets, offsetTrans, facecolors, edgecolors,<EOL>linewidths, [], [antialiased], [None])<EOL>
This provides a fallback implementation of
:meth:`draw_quad_mesh` that generates paths and then calls
:meth:`draw_path_collection`.