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

Skip to content

Commit cd5eda4

Browse files
committed
Don't silently fail when confronted with an unknown marker
1 parent 1283b46 commit cd5eda4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

lib/matplotlib/lines.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -745,11 +745,8 @@ def set_marker(self, marker):
745745
746746
%(MarkerAccepts)s
747747
"""
748-
try:
749-
self._marker.set_marker(marker)
750-
except ValueError,e:
751-
verbose.report(str(e))
752-
748+
self._marker.set_marker(marker)
749+
753750
def set_markeredgecolor(self, ec):
754751
"""
755752
Set the marker edge color

0 commit comments

Comments
 (0)