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
If we don't want to tackle the full story (#3342) for 0.9.1 (and we don't), then I guess the short term fix is simply to relax the bar-chart view's requirements, and strengthen the tensor view's requirements:
make bar-chart look for either BarChartIndicatororTensorIndicator
make tensor ignore anything with less than 2 dimensions (it can't display those anyway!)
Relax the bar-chart view's requirements, and strengthen the tensor
view's requirements:
- make bar-chart look for either `BarChartIndicator` _or_
`TensorIndicator`
- make tensor ignore anything with less than 2 dimensions (it can't
display those anyway!)
---
```py
import rerun as rr
import torch
rr.init("tensor", spawn=True)
rr.log("tensor", rr.Tensor(torch.rand(10,)))
```
![image](https://github.com/rerun-io/rerun/assets/2910679/1e1e0a7a-9ded-46e1-861f-5d2197fff07d)
---
- Resolves#3709
Describe the bug
When logging a 1D tensor I'm getting "Expected a 2D slice" in the viewer. Before, this would give a bar chart-like plot.
To Reproduce
Expected behavior
Previous behavior seems better.
Rerun version
The text was updated successfully, but these errors were encountered: