We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
np.empty
1 parent d56aaa1 commit b8a37dbCopy full SHA for b8a37db
1 file changed
lib/matplotlib/path.py
@@ -179,7 +179,7 @@ def make_compound_path(cls, *args):
179
vertices = np.vstack([x.vertices for x in args])
180
vertices.reshape((total_length, 2))
181
182
- codes = np.ones(total_length, dtype=cls.code_type)
+ codes = np.empty(total_length, dtype=cls.code_type)
183
i = 0
184
for path in args:
185
if path.codes is None:
0 commit comments