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 a8865f8 commit 495b5a0Copy full SHA for 495b5a0
lib/matplotlib/collections.py
@@ -1115,13 +1115,14 @@ def set_segments(self, segments):
1115
_segments = []
1116
1117
for seg in segments:
1118
-
1119
if not np.ma.isMaskedArray(seg):
1120
seg = np.asarray(seg, np.float_)
1121
_segments.append(seg)
+
1122
if self._uniform_offsets is not None:
1123
_segments = self._add_offsets(_segments)
1124
- self._paths = [mpath.Path(seg) for seg in _segments]
1125
+ self._paths = [mpath.Path(_seg) for _seg in _segments]
1126
1127
set_verts = set_segments # for compatibility with PolyCollection
1128
set_paths = set_segments
0 commit comments