im practicing my python skills so im trying to understand a code. And there is a code like this
fig.savefig("../figs/SerialDist.png")
But i get an error:
"No such file or directory: '../figs/SerialDist.png'"
And as i already said im pretty new in this, but i think that the problem is that my file path is wrong, so f how can i fix it. Thank you.
figsfolder created? If not, consider creating it and testing your code again.../figs/SerialDist.pngmeans that the script will try to save your figure in thefigsfolder located one directory up from your current directory. E.g. if you run the following scriptC:\MyApp\scripts\script.pythen../figs/SerialDist.pngisC:\MyApp\figs\SerialDist.png