We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5837e94 commit 2981b1fCopy full SHA for 2981b1f
lib/matplotlib/_enums.py
@@ -14,7 +14,6 @@
14
from matplotlib import _docstring
15
16
17
-class __AutoStringNameEnum(Enum):
18
"""Automate the ``name = 'name'`` part of making a (str, Enum)."""
19
20
@@ -73,9 +72,9 @@ class JoinStyle(str, Enum):
73
72
74
"""
75
76
- def _generate_next_value_(name, start, count, last_values):
77
- return name
78
-
+ miter = "miter"
+ round = "round"
+ bevel = "bevel"
79
miter = auto()
80
round = auto()
81
bevel = auto()
@@ -148,12 +147,9 @@ class CapStyle(str, Enum):
148
147
CapStyle.demo()
149
150
151
152
153
154
- butt = auto()
155
- projecting = auto()
156
- round = auto()
+ butt = "butt"
+ projecting = "projecting"
157
158
@staticmethod
159
def demo():
0 commit comments