简体   繁体   中英

Matplotlib on Android (Pydroid)

I'm just learning to code. I use Pydroid on my tablet running Android 11. When I try to save a graphic drawn with plot() method, this IDE proposes to save a file to that directory:

/data/user/0/ru.iiec.pydroid3/app_HOME.

But I'm not able to find such a directory on my tablet. How can I find it or am I obliged to save files with savefig() method?

Thank you

PS Where does savefig() method save figures if I don't precise the path? (it doesn't appear in the same dossier where is my.py file)

The simple fix would be to save the code in a folder inside internal storage. The complicated fix: You need superuser privilege to access /data partition.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM