mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Remove first three lines of repr widgets
This commit is contained in:
parent
e383594d04
commit
85b5adff58
@ -277,13 +277,6 @@ class Widget(LoggingConfigurable):
|
|||||||
----------
|
----------
|
||||||
view_name: unicode (optional)
|
view_name: unicode (optional)
|
||||||
View to display in the frontend. Overrides view_name."""
|
View to display in the frontend. Overrides view_name."""
|
||||||
view_name = kwargs.get('view_name', self.view_name)
|
|
||||||
|
|
||||||
# Create a communication.
|
|
||||||
self._open_communication()
|
|
||||||
|
|
||||||
# Make sure model is syncronized
|
|
||||||
self.send_state()
|
|
||||||
|
|
||||||
# Show view.
|
# Show view.
|
||||||
self._send({"method": "display", "view_name": view_name})
|
self._send({"method": "display", "view_name": view_name})
|
||||||
|
Loading…
Reference in New Issue
Block a user