We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a0841 commit aa3ffc3Copy full SHA for aa3ffc3
1 file changed
pygmt/clib/conversion.py
@@ -157,6 +157,7 @@ def vectors_to_arrays(vectors: Sequence[Any]) -> list[np.ndarray]:
157
158
>>> import numpy as np
159
>>> import pandas as pd
160
+ >>> data = np.arange([[1, 2], [3, 4], [5, 6]])
161
>>> vectors = [data[:, 0], data[:, 1], pd.Series(data=[-1, -2, -3])]
162
>>> all(i.flags.c_contiguous for i in vectors)
163
False
0 commit comments