rename self.dim self.dim_, lowercase functions, pep8, reference non-plot example