Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31f59f4

Browse files
committed
Removed update limit function and autolim
1 parent bcf2fc2 commit 31f59f4

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

lib/matplotlib/axes/_base.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,7 +2396,6 @@ def add_collection(self, collection, autolim=True):
23962396
self._request_autoscale_view()
23972397

23982398
self.stale = True
2399-
collection._set_in_autoscale(autolim)
24002399
return collection
24012400

24022401
def add_image(self, image):
@@ -2417,12 +2416,6 @@ def _update_image_limits(self, image):
24172416
xmin, xmax, ymin, ymax = image.get_extent()
24182417
self.axes.update_datalim(((xmin, ymin), (xmax, ymax)))
24192418

2420-
def _update_collection_limits(self, collection):
2421-
offsets = collection.get_offsets()
2422-
if offsets is not None and len(offsets):
2423-
self.update_datalim(offsets)
2424-
2425-
24262419
def add_line(self, line):
24272420
"""
24282421
Add a `.Line2D` to the Axes; return the line.

0 commit comments

Comments
 (0)