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 045f077 commit c7af76cCopy full SHA for c7af76c
lib/matplotlib/collections.py
@@ -1094,13 +1094,14 @@ def set_segments(self, segments):
1094
_segments = []
1095
1096
for seg in segments:
1097
-
1098
if not np.ma.isMaskedArray(seg):
1099
seg = np.asarray(seg, np.float_)
1100
_segments.append(seg)
+
1101
if self._uniform_offsets is not None:
1102
_segments = self._add_offsets(_segments)
1103
- self._paths = [mpath.Path(seg) for seg in _segments]
1104
+ self._paths = [mpath.Path(_seg) for _seg in _segments]
1105
1106
set_verts = set_segments # for compatibility with PolyCollection
1107
set_paths = set_segments
0 commit comments