You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Missing backcompat for backends not supporting hatchcolors in draw_quad_mesh #29883
#29044 added a hatchcolors kwarg to backends' draw_path_collection and draw_quad_mesh; this includes an backcompat/escape hatch in draw_path_collection for third-party backends (e.g., mplcairo) that don't support for that kwarg (see discussion around #29044 (comment) for why I think this should be in matplotlib and not in mplcairo); unfortunately the same escape hatch is also needed for draw_quad_mesh and is missing there.
Code for reproduction
# using mplcairo.qt, for examplefrompylabimport*; hist2d(rand(10), rand(10))
It looks like QuadMesh doesn't actually support hatching? (need confirmation). If this is the case, then it would make sense to remove the hatchcolors parameter from draw_quad_mesh().
Activity
r3kste commentedon Apr 11, 2025
It looks like
QuadMeshdoesn't actually support hatching? (need confirmation). If this is the case, then it would make sense to remove thehatchcolorsparameter fromdraw_quad_mesh().patch: r3kste@41a049a
timhoffm commentedon Apr 11, 2025
@r3kste Indeed, good point! I also don't see how hatching on quadmeshes is a reasonable visualization.
I would just remove this again.