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 9e85244 commit 721c6a1Copy full SHA for 721c6a1
examples/lines_bars_and_markers/multicolored_line.py
@@ -19,7 +19,7 @@
19
# Create a set of line segments so that we can color them individually
20
# This creates the points as a N x 1 x 2 array so that we can stack points
21
# together easily to get the segments. The segments array for line collection
22
-# needs to be numlines x points per line x 2 (x and y)
+# needs to be (numlines) x (points per line) x 2 (for x and y)
23
points = np.array([x, y]).T.reshape(-1, 1, 2)
24
segments = np.concatenate([points[:-1], points[1:]], axis=1)
25
0 commit comments