Can I add the matplotlib
library without installing it? If only pyplot function is needed from this library.
Is there an option to just copy the files I want to the python
libraries folder?
Answer 1, authority 100%
- Download the files from here https://github.com/matplotlib/matplotlib
- Move the ./lib/matplotlib folder to your project folder
import matplotlib
will pick up the module from this folder without installing
Answer 2, authority 100%
If you are working in Python 3.x in Windows, then go to the folder in which Python is located, go to the script, call the command line and run the command from the script folder
pip.exe install matplotlib