We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 863502e commit c2f84c0Copy full SHA for c2f84c0
lib/matplotlib/axes/_axes.py
@@ -5410,8 +5410,10 @@ def get_interp_point(idx):
5410
if ind_dir == "y":
5411
pts = pts[:, ::-1]
5412
5413
- if "transform" not in kwargs:
5414
- self.update_datalim(pts, updatex=True, updatey=True)
+ up_x, up_y = True, True
+ if "transform" in kwargs:
5415
+ up_x, up_y = kwargs["transform"].contains_branch_seperately(self.transData)
5416
+ self.update_datalim(pts, updatex=up_x, updatey=up_y)
5417
5418
self.add_collection(collection, autolim=False)
5419
self._request_autoscale_view()
0 commit comments