You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor plot and plot3d to use virtualfile_from_data (#990)
Added an additional `extra_arrays` parameter to the
`virtualfile_from_data` function to accept optional
numpy arrays from the plot and plot3d functions.
* Just use virtualfile_from_matrix for non-datetime 2D numpy arrays
More efficient to pass in whole 2D numpy array matrix
as a virtualfile to GMT, and this fixes the segmentation
fault crash on test_plot3d_matrix_color when the data
was passed in via virtualfile_from_vectors instead.
* Add docstring on extra_arrays parameter in virtualfile_from_data
* Use virtualfile_from_matrix on int/uint/float types and add a test
Co-authored-by: Dongdong Tian <[email protected]>
0 commit comments