Skip to content

Commit cb9b2ef

Browse files
committed
fixed issue matplotlib#25682
1 parent 2d0c3ba commit cb9b2ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5409,7 +5409,10 @@ def get_interp_point(idx):
54095409
np.column_stack([ind[where], dep2[where]])])
54105410
if ind_dir == "y":
54115411
pts = pts[:, ::-1]
5412-
self.update_datalim(pts, updatex=True, updatey=True)
5412+
5413+
if "transform" not in kwargs:
5414+
self.update_datalim(pts, updatex=True, updatey=True)
5415+
54135416
self.add_collection(collection, autolim=False)
54145417
self._request_autoscale_view()
54155418
return collection

0 commit comments

Comments
 (0)