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 c2b90ac

Browse filesBrowse files
committed
Remove limitation on negative radii for R grids.
There is no need to limit grids to positive radii (in data space).
1 parent a5a0537 commit c2b90ac
Copy full SHA for c2b90ac

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎lib/matplotlib/projections/polar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/projections/polar.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,6 @@ def set_rgrids(self, radii, labels=None, angle=None, fmt=None,
561561
# Make sure we take into account unitized data
562562
radii = self.convert_xunits(radii)
563563
radii = np.asarray(radii)
564-
rmin = radii.min()
565-
if rmin <= 0:
566-
raise ValueError('radial grids must be strictly positive')
567564

568565
self.set_yticks(radii)
569566
if labels is not None:

0 commit comments

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