Matplotlib on Android (Pydroid)

663 Views Asked by At

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

P.S. 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) 

1

There are 1 best solutions below

0
karthik nair On

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.