code: def _process_legend(self):
          
          for l in self.handles['plot'].legend:
              l.items[:] = []
              l.border_line_alpha = 0
              l.background_fill_alpha = 0
docs: Disables legends if show_legend is disabled.