Skip to content

plot_deflected_shape(speed = Q_(500, "RPM") ---> error? only "rad/s" possible? #1136

Answered by ViniciusTxc3
KimYoungJoong asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @KimYoungJoong , thanks for helping in improve ROSS.
Currently, the .plot_deflected_shape() function doesn't accept the pint library argument. I'll create an issue with this report and add this possibility.
A current way for your case would be:

results2.plot_deflected_shape(speed=Q_(514, "RPM").to_base_units().m)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KimYoungJoong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants