Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 12f14c0

Browse filesBrowse files
committed
Add explanatory comment
1 parent 84560ef commit 12f14c0
Copy full SHA for 12f14c0

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/collections.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,7 @@ def __init__(self,
14641464
"""
14651465
if positions is None:
14661466
raise ValueError('positions must be an array-like object')
1467+
# Force a copy of positions
14671468
positions = np.array(positions, copy=True)
14681469
segment = (lineoffset + linelength / 2.,
14691470
lineoffset - linelength / 2.)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.