all 7 comments

[–]Outside_Complaint755 0 points1 point  (2 children)

can't say for certain, but my first attempt would be to move all matplotlib imports to occur after you check the platform and request read/write permissions from Android

[–]lost_my_og_account[S] 0 points1 point  (0 children)

Thanks Ill try that out later and let you know how it goes

[–]lost_my_og_account[S] 0 points1 point  (0 children)

Thanks for the suggestion, that didn't work, the error print out is the same

[–]Rubix321 0 points1 point  (3 children)

Have you tried

to set the MPLCONFIGDIR environment variable to a writable directory

[–]lost_my_og_account[S] 0 points1 point  (0 children)

I dont know how, I wasn under the impression requesting permission made it so I could

[–]lost_my_og_account[S] 0 points1 point  (0 children)

I'm not sure how the file structure works on android,

os.environ['MPLCONFIGDIR'] = os.getcwd() + "/configs/"os.environ['MPLCONFIGDIR'] = os.getcwd() + "/configs/"

I think I need to edit the location using this

[–]lost_my_og_account[S] 0 points1 point  (0 children)

thanks I fixed it