@@ -2321,12 +2321,14 @@ def clip_cmd(self, cliprect, clippath):
23212321 (('_cliprect' , '_clippath' ), clip_cmd ),
23222322 (('_alpha' , '_forced_alpha' , '_effective_alphas' ), alpha_cmd ),
23232323 (('_capstyle' ,), capstyle_cmd ),
2324+ # If you change the next line also fix the check in delta
23242325 (('_fillcolor' ,), fillcolor_cmd ),
23252326 (('_joinstyle' ,), joinstyle_cmd ),
23262327 (('_linewidth' ,), linewidth_cmd ),
23272328 (('_dashes' ,), dash_cmd ),
23282329 (('_rgb' ,), rgb_cmd ),
23292330 # must come after fillcolor and rgb
2331+ # If you change the next line also fix the check in delta
23302332 (('_hatch' , '_hatch_color' , '_forced_alpha' ), hatch_cmd ),
23312333 )
23322334
@@ -2356,7 +2358,8 @@ def delta(self, other):
23562358 break
23572359
23582360 # Need to update hatching if we also updated fillcolor
2359- if params == ('_hatch' , '_hatch_color' ) and fill_performed :
2361+ if (params == ('_hatch' , '_hatch_color' , '_forced_alpha' )
2362+ and fill_performed ):
23602363 different = True
23612364
23622365 if different :
0 commit comments