code: def clear_timeline(self):
          
          self._timeline.delete(tk.ALL)
          self._canvas_ticks.delete(tk.ALL)
docs: Clear the contents of the TimeLine Canvas
  
          Does not modify the actual markers dictionary and thus after
          redrawing all markers are visible again.