Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
3

Bug report --> about Matplotlib runtime

p3artschool
p3artschool

warning message as follow :

Matplotlib created a temporary config/cache directory at /tmp/matplotlib-ckzbt6ee 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.

2 years ago

Voters

Comments

TopNew
4
Coder100
Coder100

That's just a warning, not an error, and that is also expected.

click here

to learn how to fix it!

Also, next time report bugs to bugs please!

import os os.environ['MPLCONFIGDIR'] = os.getcwd() + "/configs/" import matplotlib # ...
2 years ago
4
p3artschool
p3artschool

@Coder100
Thank you. That works.

2 years ago
1
Coder100
Coder100

awesome!! Mark as correct answer?

@p3artschool

2 years ago