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

Skip to content

Commit 347d156

Browse files
authored
Add an extra comment
1 parent 84448ca commit 347d156

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,7 @@ def handle_single_axis(scale, autoscaleon, shared_axes, interval,
24102410

24112411
bb = mtransforms.BboxBase.union(dl)
24122412
x0, x1 = getattr(bb, interval)
2413+
# If x0 and x1 are non finite, use the locator to figure out default limits.
24132414
locator = axis.get_major_locator()
24142415
x0, x1 = locator.nonsingular(x0, x1)
24152416

0 commit comments

Comments
 (0)