Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4e8ddad

Browse filesBrowse files
committed
TST: allow flipped
1 parent dc3f787 commit 4e8ddad
Copy full SHA for 4e8ddad

File tree

Expand file treeCollapse file tree

4 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+2
-2
lines changed

‎lib/matplotlib/projections/polar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/projections/polar.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ def refresh(self):
446446

447447
def view_limits(self, vmin, vmax):
448448
vmin, vmax = self.base.view_limits(vmin, vmax)
449+
if vmax > vmin:
450+
vmin = min(0, vmin)
449451
return mtransforms.nonsingular(vmin, vmax)
450452

451453

Loading
Loading

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,6 @@ def test_polar_theta_position():
755755
ax.set_theta_direction('clockwise')
756756

757757

758-
759-
760758
@image_comparison(baseline_images=['polar_rlabel_position'], style='default')
761759
def test_polar_rlabel_position():
762760
fig = plt.figure()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.