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
When I use the above code to specify any two among inflow_vars, outflow_vars, or module_vars for visualization, the following error occurs.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "test/flowsig/lib/python3.8/site-packages/flowsig/plotting/_plotting.py", line 194, in plot_intercellular_flows
elif var_types_used.sum(2) == 2:
File "test/flowsig/lib/python3.8/site-packages/numpy/core/_methods.py", line 48, in _sum
return umr_sum(a, axis, dtype, out, keepdims, initial, where)
numpy.AxisError: axis 2 is out of bounds for array of dimension 1
What is causing this issue? I hope to get your reply,Thanks! @axelalmet
The text was updated successfully, but these errors were encountered:
Thanks for the question and sorry for my slowness in getting back to you! The error is because of a mistake I made. It should be var_types_used.sum() == 2 not var_types_used.sum(2) == 2.
I've updated the repository to fix this. Would you be able to reinstall FlowSig and see if this error still remains? Thank you!
When I use the above code to specify any two among inflow_vars, outflow_vars, or module_vars for visualization, the following error occurs.
What is causing this issue? I hope to get your reply,Thanks!
@axelalmet
The text was updated successfully, but these errors were encountered: