File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ containing Javascript to connect to it.
7878 # Send data to the frontend on creation
7979 comm.send({' foo' : 5 })
8080
81- get_ipython().kernel .comm_manager.register_target(' my_comm_target' , target_func)
81+ get_ipython().comm .comm_manager.register_target(' my_comm_target' , target_func)
8282
8383 This example uses the IPython kernel again; this example will be different in
8484other kernels that support comms. Refer to the specific language kernel's
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ casper.notebook_test(function () {
3333 this . then ( function ( ) {
3434 var index = this . append_cell ( [
3535 "import os" ,
36- "from IPython.kernel .comm import Comm" ,
36+ "from IPython.comm .comm import Comm" ,
3737 "comm = Comm(target_name='echo')" ,
3838 "msgs = []" ,
3939 "def on_msg(msg):" ,
You can’t perform that action at this time.
0 commit comments