Skip to content
← Back to Community
Matplotlib Error
Profile icon
h
has Hacker Plan
agarwalarti

Hi,

I have two questions, both regarding Matplotlib:

  1. My code throws up this error (in red) every time I run it with matplotlib (see screenshot). What do I have to do to fix this?

  2. How do I save a plot to my computer? When I click on the save button on a plot, it pops up a window to save the file but nothing happens afterward.

I'm just figuring out how to use matplotlib here, any help is appreciated. Thank you.
Matplotlib error

Voters
Profile icon
agarwalarti
Comments
hotnewtop
Profile icon
Wumi4

1)It isn't a error, it's just a warning.

Profile icon
agarwalarti

@Wumi4 Ok, so how do I remove that warning? And what does it mean, exactly?

Profile icon
Wumi4

@agarwalarti It says that the default path /config/matplotlib is not a writable dir. And recommended you to set the MPLCONFIGDIR environment var into a writable dir(A new dir, I think) to speed up the import part and better support multiprocessing.

Profile icon
TannerTommy

This blog had some interesting content to figure out problems faced in working on matplotlib but it wasn't for everyone I think. Also I think that it requires proofreading by best dissertation writing services reviews as it has a lot of content that makes no sense at all. Well, it’s my personal opinion, not everyone thinks the same.