I am struggling on how to find the correct way to specify the save path (or repository) when calling the function savefig in matplotlib or pylab.

I tried several syntaxes, but everytime python console returns :

> 
> FileNotFoundError: [Errno 2] No such file or directory: '../MyDocs/resource/frames/MyImage.png'
> 
> 
> 

Currently, I have written the following :

```
pylab.savefig('../MyDocs/resource/frames/MyImage.png')

```

Does someone know how to do it?