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
viz.wiggle doesn't work with a 1D patch. It probably should.
Example
importdascoreasdcpatch=dc.get_example_patch()
patch_agg=patch.mean("distance", dim_reduce="squeeze")
patch_agg.viz.wiggle() # raises Assertion error, but it should be able to figure it out.
This kinda works when the patch has 2 dimensions but one dimension is length 1.
Example
importdascoreasdcpatch=dc.get_example_patch()
patch_agg=patch.mean("distance", dim_reduce="empty")
patch_agg.viz.wiggle() # raises Assertion error, but it should be able to figure it out.
However, in both of these cases it probably makes sense to dispatch to new logic to just plot the Y axis as the data axis (e.g., strain-rate) and the x axis as the remaining axis (e.g., distance).
Versions
OS [e.g. Ubuntu 20.04]:
DasCore Version [e.g. 0.0.5]:
Python Version [e.g. 3.10]:
The text was updated successfully, but these errors were encountered:
Description
viz.wiggle
doesn't work with a 1D patch. It probably should.Example
This kinda works when the patch has 2 dimensions but one dimension is length 1.
Example
However, in both of these cases it probably makes sense to dispatch to new logic to just plot the Y axis as the data axis (e.g., strain-rate) and the x axis as the remaining axis (e.g., distance).
Versions
The text was updated successfully, but these errors were encountered: