From fb11e70f53a2233595db329ebfb1798296eb0fc5 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sun, 20 Apr 2014 01:06:41 +0100 Subject: [PATCH] Fix copy & paste error in docstring. --- IPython/html/widgets/widget_bool.py | 2 +- IPython/html/widgets/widget_image.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/IPython/html/widgets/widget_bool.py b/IPython/html/widgets/widget_bool.py index 211ba312c..ac07d7f65 100644 --- a/IPython/html/widgets/widget_bool.py +++ b/IPython/html/widgets/widget_bool.py @@ -31,4 +31,4 @@ class CheckboxWidget(_BoolWidget): class ToggleButtonWidget(_BoolWidget): _view_name = Unicode('ToggleButtonView', sync=True) - \ No newline at end of file + diff --git a/IPython/html/widgets/widget_image.py b/IPython/html/widgets/widget_image.py index 0621ed427..0e18bdeaf 100644 --- a/IPython/html/widgets/widget_image.py +++ b/IPython/html/widgets/widget_image.py @@ -1,7 +1,6 @@ -"""ButtonWidget class. +"""ImageWidget class. -Represents a button in the frontend using a widget. Allows user to listen for -click events on the button and trigger backend code when the clicks are fired. +Represents an image in the frontend using a widget. """ #----------------------------------------------------------------------------- # Copyright (c) 2013, the IPython Development Team. @@ -33,4 +32,4 @@ class ImageWidget(DOMWidget): value = Bytes() def _value_changed(self, name, old, new): - self._b64value = base64.b64encode(new) \ No newline at end of file + self._b64value = base64.b64encode(new)