Yes , like IPython notebook. But you forgot the `self.`.