Skip to content

Commit

Permalink
Add one line of code back
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Oct 14, 2024
1 parent 56a0841 commit aa3ffc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygmt/clib/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def vectors_to_arrays(vectors: Sequence[Any]) -> list[np.ndarray]:
>>> import numpy as np
>>> import pandas as pd
>>> data = np.arange([[1, 2], [3, 4], [5, 6]])
>>> vectors = [data[:, 0], data[:, 1], pd.Series(data=[-1, -2, -3])]
>>> all(i.flags.c_contiguous for i in vectors)
False
Expand Down

0 comments on commit aa3ffc3

Please sign in to comment.