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 you try and specify both x and y in Deephaven express, it throws an error about how you can't set both x and y. But with violin plots you should be able to.
Plot fig_violin and plot dx_violin should both open, and look similar
Actual results
Plot fig_violin opens, but plot dx_violin does not. An error is outputted to the logs:
r-Scheduler-Serial-1 | .c.ConsoleServiceGrpcImpl | Error running script: java.lang.RuntimeException: Error in Python interpreter:
Type: <class 'ValueError'>
Value: Cannot specify both x and y
Line: 130
Namespace: violin
File: /opt/deephaven/venv/lib/python3.10/site-packages/deephaven/plot/express/plots/distribution.py
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "/opt/deephaven/venv/lib/python3.10/site-packages/deephaven/plot/express/plots/distribution.py", line 130, in violin
You should be able to plot both. Not sure why I thought otherwise. Maybe because you only have to specify one dimension and the second is optional. Plot by can be used as a workaround for now but really those are slightly different results.
Description
If you try and specify both
x
andy
in Deephaven express, it throws an error about how you can't set bothx
andy
. But with violin plots you should be able to.Steps to reproduce
Expected results
fig_violin
and plotdx_violin
should both open, and look similarActual results
fig_violin
opens, but plotdx_violin
does not. An error is outputted to the logs:Versions
Engine Version: 0.35.0-SNAPSHOT
Web UI Version: 0.74.0
Java Version: 21.0.3
Barrage Version: 0.6.0
Browser Name: Chrome 123
OS Name: macOS 10.15.7
The text was updated successfully, but these errors were encountered: