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

Skip to content

Commit 2430cc4

Browse files
author
Tuan333
committed
fixed polar bug
1 parent 09a645f commit 2430cc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,6 +1856,8 @@ def add_patch(self, p):
18561856
if p.get_clip_path() is None:
18571857
p.set_clip_path(self.patch)
18581858
self._update_patch_limits(p)
1859+
if self.name != 'rectilinear':
1860+
p.get_path()._interpolation_steps = max(p.get_path()._interpolation_steps, 100)
18591861
self.patches.append(p)
18601862
p._remove_method = lambda h: self.patches.remove(h)
18611863
return p

0 commit comments

Comments
 (0)