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 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.
|
||||
self._send({"method": "display", "view_name": view_name})
|
||||
|
Loading…
Reference in New Issue
Block a user