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
Describe the bug
rod_com_lines[rod_idx].set_xdata[com[0]]
rod_com_lines[rod_idx].set_ydata(com[2]).
These methods are supposed to accept float lists as parameters for the inputs in float. com[0] is a float and provides a runtime error when used in these methods. To fix this com[0] should be inputted as a list in the form of [com[0]]. After doing so, the code runs without error.
The text was updated successfully, but these errors were encountered:
Describe the bug
rod_com_lines[rod_idx].set_xdata[com[0]]
rod_com_lines[rod_idx].set_ydata(com[2]).
These methods are supposed to accept float lists as parameters for the inputs in float. com[0] is a float and provides a runtime error when used in these methods. To fix this com[0] should be inputted as a list in the form of [com[0]]. After doing so, the code runs without error.
The text was updated successfully, but these errors were encountered: