code: def draw(self):
          
          matrix = nx.to_numpy_matrix(self.graph, nodelist=self.nodes)
          self.ax.matshow(matrix, cmap=self.cmap)
docs: Draws the plot to screen.
  
          Note to self: Do NOT call super(MatrixPlot, self).draw(); the
          underlying logic for drawing here is completely different from other
          plots, and as such necessitates a different implementation.