Skip to content

Commit 3110c21

Browse files
committed
Remove special nonsingular casing in RadialLocator
1 parent eb92923 commit 3110c21

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,7 @@ def __call__(self):
424424

425425
def nonsingular(self, vmin, vmax):
426426
# docstring inherited
427-
return ((0, 1) if (vmin, vmax) == (-np.inf, np.inf) # Init. limits.
428-
else self.base.nonsingular(vmin, vmax))
427+
return self.base.nonsingular(vmin, vmax)
429428

430429
def view_limits(self, vmin, vmax):
431430
vmin, vmax = self.base.view_limits(vmin, vmax)

0 commit comments

Comments
 (0)