Skip to content

Commit 6338cde

Browse files
committed
Add one line of code back
1 parent 56a0841 commit 6338cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pygmt/clib/conversion.py

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def vectors_to_arrays(vectors: Sequence[Any]) -> list[np.ndarray]:
157157
158158
>>> import numpy as np
159159
>>> import pandas as pd
160+
>>> data = np.array([[1, 2], [3, 4], [5, 6]])
160161
>>> vectors = [data[:, 0], data[:, 1], pd.Series(data=[-1, -2, -3])]
161162
>>> all(i.flags.c_contiguous for i in vectors)
162163
False

0 commit comments

Comments
 (0)