← Back to team overview

yade-users team mailing list archive

Re: [Question #703685]: Plot.plot() not working

 

Question #703685 on Yade changed:
https://answers.launchpad.net/yade/+question/703685

    Status: Open => Answered

Jan Stránský proposed the following answer:
> matplotlib version 3.6.0
> ~/.local/lib/python3.8/site-packages/matplotlib/pyplot.py

it seems like you have installed matplotlib with pip, right?

Documentation [2] suggest using "system version" (python3-matplotlib
package), which should be version 3.1.2 [3].

You can try several options:
- uninstall pip version and install system version of matplotlib
- install matplotlib with pip, but version 3.1.2.
- use yadedaily [4] which should (could?) work with newer version

Cheers
Jan

[2] https://yade-dem.org/doc/installation.html#prerequisites
[3] https://packages.ubuntu.com/focal/python3-matplotlib
[4] https://yade-dem.org/doc/installation.html#packages

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.