##// END OF EJS Templates
Fixed doc string comments, removed extra space
Jonathan Frederic -
Show More
@@ -282,6 +282,8 b' class Widget(LoggingConfigurable):'
282 282 def on_displayed(self, callback, remove=False):
283 283 """Register a callback to be called when the widget has been displayed
284 284
285 Parameters
286 ----------
285 287 callback: method handler
286 288 Can have a signature of:
287 289 - callback()
@@ -298,6 +300,8 b' class Widget(LoggingConfigurable):'
298 300 def handle_displayed(self, view_name):
299 301 """Called when a view has been displayed for this widget instance
300 302
303 Parameters
304 ----------
301 305 view_name: unicode
302 306 Name of the view that was displayed."""
303 307 for handler in self._display_callbacks:
@@ -321,7 +325,6 b' class Widget(LoggingConfigurable):'
321 325 'accept 0-2 arguments, not %d.' % nargs)
322 326
323 327
324
325 328 # Support methods
326 329 def _repr_widget_(self, view_name=None):
327 330 """Function that is called when `IPython.display.display` is called on
General Comments 0
You need to be logged in to leave comments. Login now