Sebastian

Results 9 comments of Sebastian

Hi @jacob-ki you probably haven't define the save_fig try adding this block of code at the beginning of your file ```` def save_fig(fig_id, tight_layout=True, fig_extension="png", resolution=300): path = os.path.join(IMAGES_PATH, fig_id...

@jacob-ki Sorry that was my mistake. the code didnt get formatted right when I pasted it. try this ``` def save_fig(fig_id, tight_layout=True, fig_extension="png", resolution=300): path = os.path.join(IMAGES_PATH, fig_id + "."...

can you post your entire code? there should be a line of code at the very beginning of the project that defines the IMAGES_PATH also if you are running this...

add this after your imports but before the def save_fig function and it should (fingers crossed) resolve your issues ``` # Where to save the figures PROJECT_ROOT_DIR = "." CHAPTER_ID...

No problem, im glad it worked! Uhhmm im not 100% positive, (im pretty novice at python myself) but judging from the error message, I think the issue arises from the...

ohhh youll have lots of questions for sure but luckily there are lots of helpful people that frequent here that are willing to help you out. I myself find always...

i had the same question as well but i think Aurelien just decided to call the current directory that all the stuff from this project should be saved as ROOT_DIR,...

what I did was I made a new file to contain all my code for this book, and then thats where I saved my code, and that folder was designated...

your right! turns out '.' is used to refer to the current directory in which you are working in. good to know thanks