diff --git a/lib/matplotlib/markers.py b/lib/matplotlib/markers.py index b1d6fa2be6a4..beb09c9d8bed 100644 --- a/lib/matplotlib/markers.py +++ b/lib/matplotlib/markers.py @@ -322,10 +322,10 @@ def _set_fillstyle(self, fillstyle): self._recache() def get_joinstyle(self): - return self._joinstyle + return self._joinstyle.name def get_capstyle(self): - return self._capstyle + return self._capstyle.name def get_marker(self): return self._marker diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 02f71462aa98..0cc3e6937667 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -484,7 +484,7 @@ def set_capstyle(self, s): def get_capstyle(self): """Return the capstyle.""" - return self._capstyle + return self._capstyle.name @docstring.interpd def set_joinstyle(self, s): @@ -501,7 +501,7 @@ def set_joinstyle(self, s): def get_joinstyle(self): """Return the joinstyle.""" - return self._joinstyle + return self._joinstyle.name def set_hatch(self, hatch): r"""
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: