8000 allow fillstyle 'none' option by cragm · Pull Request #447 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

allow fillstyle 'none' option #447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 31, 2011
Prev Previous commit
Next Next commit
added missing fillstyle=='none' conditionals
  • Loading branch information
Craig M committed Sep 8, 2011
commit 5a2ced18187a9b3d220b21e1369d68cca0a2d0f3
4 changes: 2 additions & 2 deletions lib/matplotlib/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _set_circle(self, reduction = 1.0):
self._transform = Affine2D().scale(0.5 * reduction)
self._snap_threshold = 3.0
fs = self.get_fillstyle()
if fs=='full':
if fs == 'full' or fs == 'none':
self._path = Path.unit_circle()
else:
# build a right-half circle
Expand Down Expand Up @@ -289,7 +289,7 @@ def _set_triangle(self, rot, skip):
self._snap_threshold = 5.0
fs = self.get_fillstyle()

if fs=='full':
if fs == 'full' or fs == 'none':
self._path = self._triangle_path
else:
mpaths = [self._triangle_path_u,
Expand Down
0