This method saves plots in the appropriate section folder.
        As a consequence two plots cannot have the same name within the same section.

def __save_plots_of_the_current_page(self, section, page, output_path):
        """This method saves plots in the appropriate section folder.
        As a consequence two plots cannot have the same name within the same section."""
        
        for key in self.sections[section].pages[page].elements.keys():
            print(section, page, key) # debug print
            
            buf_temp = self.sections[section].pages[page].elements[key].plot_object
            if buf_temp is not None :

                plot_path = os.path.join(output_path, "output", self.name, "site", section, key + ".svg")
                
                
                try :
                    my_file = open(plot_path, "wb")
                    my_file.write(buf_temp)
                    my_file.close()
                except Exception as e:
                    print (e)
                    print ("In {section} and {page}, an element exists without a valid plot object.".format(section = section, page = page))