matplotlib => mp.use('Agg')
I've been using the command
mp.use('Agg') with matplotlib to prevent Repl to create an interactive box (I only want to have the graphs saved in the "files" directly).
However since the last update I get this message when I run my Repl:
"Matplotlib created a temporary config/cache directory at /tmp/matplotlib-8gfs3tr6 because the default path (/config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing."
I don't really get it. Could someone give me a tip on how to solve this ?
I would be more than happy to "set the MPLCONFIGDIR environment variable to a writable directory" but which directory is writable ? And how can I ask matplotlib to write there ?