      def initiate_graph(self):
          """ Place the graph canvas """
          logger.debug("Setting plotcanvas")
          self.plotcanvas.get_tk_widget().pack(side=tk.TOP, padx=5, fill=tk.BOTH, expand=True)
          plt.subplots_adjust(left=0.100,
                              bottom=0.100,
                              right=0.95,
                              top=0.95,
                              wspace=0.2,
                              hspace=0.2)
          logger.debug("Set plotcanvas")
  
      def update_plot(self, initiate=True):
          """ Update the plot with incoming data """
          logger.trace("Updating plot")
 
</s> remove     @staticmethod
    def destroy_tabs_children(tab):
        """ Destroy all tabs children
            Children must be destroyed as forget only hides display
        """
        logger.debug("Destroying children for tab: %s", tab)
        for child in tab.winfo_children():
            logger.debug("Destroying child: %s", child)
            child.destroy()

 </s> add  </s> remove             child_object = self.children[child_name]
            self.destroy_tabs_children(child_object)
 </s> add             child_object = self.children[child_name]  # returns the OptionalDisplayPage object
            child_object.close()  # Call the OptionalDisplayPage close() method
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
      def initiate_graph(self):
          """ Place the graph canvas """
          logger.debug("Setting plotcanvas")
          self.plotcanvas.get_tk_widget().pack(side=tk.TOP, padx=5, fill=tk.BOTH, expand=True)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
        self.fig.subplots_adjust(left=0.100,
                                 bottom=0.100,
                                 right=0.95,
                                 top=0.95,
                                 wspace=0.2,
                                 hspace=0.2)
          logger.debug("Set plotcanvas")
  
      def update_plot(self, initiate=True):
          """ Update the plot with incoming data """
          logger.trace("Updating plot")
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 bigfix: RuntimeWarning: More than 20 figures have been opened. 
lib/gui/display_graph.py