8000 TST: allow flipped · matplotlib/matplotlib@b088df1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b088df1

Browse files
committed
TST: allow flipped
1 parent 18bf977 commit b088df1

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ def refresh(self):
456456

457457
def view_limits(self, vmin, vmax):
458458
vmin, vmax = self.base.view_limits(vmin, vmax)
459+
if vmax > vmin:
460+
vmin = min(0, vmin)
459461
return mtransforms.nonsingular(vmin, vmax)
460462

461463

Loading
Loading

0 commit comments

Comments
 (0)
0