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
I am working with point cloud data, which has multiple scalars associated.
I am changing the active scalar based on user input.
However, for some reason the color scale does not change.
eg. if first scalar was bool, and next scalar will be float, the maximum color value will still be at 1 after the change
it seems that the function get_data_range hasa bug
the bool array is not working because of this condition, should I make a PR with fix?
pyvista/core/dataset.py:893-894
if arr.size == 0 or not np.issubdtype(arr.dtype, np.number):
return (np.nan, np.nan)
also the scalar color mapping seems to work with :
I am working with point cloud data, which has multiple scalars associated.
I am changing the active scalar based on user input.
However, for some reason the color scale does not change.
eg. if first scalar was bool, and next scalar will be float, the maximum color value will still be at 1 after the change
The text was updated successfully, but these errors were encountered: