code: def mmGetPermanencesPlot(self, title=None):
      
      plot = Plot(self, title)
  
      data = numpy.zeros((self.getNumColumns(), self.getNumInputs()))
      for i in xrange(self.getNumColumns()):
        self.getPermanence(i, data[i])
  
      plot.add2DArray(data, xlabel="Permanences", ylabel="Column")
      return plot
docs: Returns plot of column permanences.
      @param title an optional title for the figure
      @return (Plot) plot