Add ravel() reference link

its_happening
Tyler Goodlet 2020-08-02 20:09:27 -04:00
parent 0389836fe6
commit ccf600f79a
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def _mk_lines_array(data: List, size: int) -> np.ndarray:
"""Create an ndarray to hold lines graphics objects.
"""
# TODO: might want to just make this a 2d array to be faster at
# flattening using .ravel()?
# flattening using .ravel(): https://stackoverflow.com/a/60089929
return np.zeros_like(
data,
shape=(int(size),),