@@ -2158,6 +2158,7 @@ def bar(self, *args, **kwargs):
21582158 r .sticky_edges .y .append (b )
21592159 elif orientation == 'horizontal' :
21602160 r .sticky_edges .x .append (l )
2161+ r ._force_clip_in_log_scale = True
21612162 self .add_patch (r )
21622163 patches .append (r )
21632164
@@ -3053,7 +3054,9 @@ def extract_err(err, data):
30533054 if xlolims .any ():
30543055 yo , _ = xywhere (y , right , xlolims & everymask )
30553056 lo , ro = xywhere (x , right , xlolims & everymask )
3056- barcols .append (self .hlines (yo , lo , ro , ** eb_lines_style ))
3057+ ebs = self .hlines (yo , lo , ro , ** eb_lines_style )
3058+ ebs ._force_clip_in_log_scale = True
3059+ barcols .append (ebs )
30573060 rightup , yup = xywhere (right , y , xlolims & everymask )
30583061 if self .xaxis_inverted ():
30593062 marker = mlines .CARETLEFTBASE
@@ -3092,7 +3095,9 @@ def extract_err(err, data):
30923095 if noylims .any ():
30933096 xo , _ = xywhere (x , lower , noylims & everymask )
30943097 lo , uo = xywhere (lower , upper , noylims & everymask )
3095- barcols .append (self .vlines (xo , lo , uo , ** eb_lines_style ))
3098+ ebs = self .vlines (xo , lo , uo , ** eb_lines_style )
3099+ ebs ._force_clip_in_log_scale = True
3100+ barcols .append (ebs )
30963101 if capsize > 0 :
30973102 caplines .append (mlines .Line2D (xo , lo , marker = '_' ,
30983103 ** eb_cap_style ))
@@ -4905,6 +4910,7 @@ def get_interp_point(ind):
49054910 polys .append (X )
49064911
49074912 collection = mcoll .PolyCollection (polys , ** kwargs )
4913+ collection ._force_clip_in_log_scale = True
49084914
49094915 # now update the datalim and autoscale
49104916 XY1 = np .array ([x [where ], y1 [where ]]).T
@@ -5057,6 +5063,7 @@ def get_interp_point(ind):
50575063 polys .append (Y )
50585064
50595065 collection = mcoll .PolyCollection (polys , ** kwargs )
5066+ collection ._force_clip_in_log_scale = True
50605067
50615068 # now update the datalim and autoscale
50625069 X1Y = np .array ([x1 [where ], y [where ]]).T
0 commit comments