Download Pytorch/Scripts/matplotlib-script.py from RayTBRP/codellama-CodeLlama-7b-Python-hf: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/matplotlib-script.py
- Command line
-
hf download hf://RayTBRP/codellama-CodeLlama-7b-Python-hf@c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/matplotlib-script.py
-
curl -L -o matplotlib-script.py https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/matplotlib-script.py
220 Bytes
| # -*- coding: utf-8 -*- | |
| import re | |
| import sys | |
| from pandas import plotting | |
| if __name__ == '__main__': | |
| sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | |
| sys.exit(plotting._matplotlib()) | |