code: def plot(self, flip=False, ax_channels=None, ax=None, *args, **kwargs):
          
          if ax == None:
              ax = pl.gca()
  
          if ax_channels is not None:
              flip = self._find_orientation(ax_channels)
          if flip:
              vert = [v[::-1] for v in self.vert]
          else:
              vert = self.vert
          kwargs.setdefault('fill', False)
          kwargs.setdefault('color', 'black')
          poly = pl.Polygon(vert, *args, **kwargs)
          return ax.add_artist(poly)
docs: {_gate_plot_doc}