-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ax.lines = [] AttributeError: can't set attribute #6
Comments
Can you please share the full trace of the error? |
@GuyTevet Hi, the code can not run, got same error as above with a decent matplotlib: matplotlib 3.6.1 Since all other project relays on newest matplotlib, it's better changing the code to adopt to latest API |
@jinfagang @GuyTevet Hi guys, this issue is caused by the matplotlib version. I got the same error when used the version >3.5.0. It very easy to fixed in these matplotlib versions. You can just change this file "motion-diffusion-model/data_loaders/humanml/utils/plot_script.py" in lines 89~92 |
@zhustrong thank you for you hint! However, it makes the animation blank. It's just the number at the top and else a completely white frame. 🙃 I'm on version |
Hey, I just change the code (line 184-187) in motion-diffusion-model/data_loaders/ humanml/utils/plot_script.py
to:
Hope it is useful. |
it work under matplotlib==3.5.0~ thanks for hint! |
It works on mine. Thank you! |
It works in matplotlib==3.5.0. But would change not the dist. I found ax._dist=7.5 would fix it. |
while trying to run the sample code
I am getting this error
The text was updated successfully, but these errors were encountered: