Skip to content

Commit 2a57338

Browse files
committed
FIX: also run fill_between data limit updates through update_datalim
1 parent f8071e8 commit 2a57338

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,9 +5291,7 @@ def get_interp_point(idx):
52915291
np.column_stack([ind[where], dep2[where]])])
52925292
if ind_dir == "y":
52935293
pts = pts[:, ::-1]
5294-
self.dataLim.update_from_data_xy(pts, self.ignore_existing_data_limits,
5295-
updatex=True, updatey=True)
5296-
self.ignore_existing_data_limits = False
5294+
self.update_datalim(pts, updatex=True, updatey=True)
52975295
self.add_collection(collection, autolim=False)
52985296
self._request_autoscale_view()
52995297
return collection

0 commit comments

Comments
 (0)