Permalink
Browse files

refactoring, remove folder nbdrawing, move nbcanvas to ipython_helper

  • Loading branch information...
sdpython committed Aug 3, 2015
1 parent 82ca54a commit 00f7f585f7dc8c794afd0d8c6ee31e6516c78246
@@ -30,7 +30,7 @@
"outputs": [],
"source": [
"import code_beatrix\n",
"from code_beatrix.nbdrawing import display_canvas_point"
"from code_beatrix.ipython_helper import display_canvas_point"
]
},
{
@@ -3,3 +3,4 @@
"""
from .path_helper import local_d3js
from .nbcanvas import display_canvas_point
@@ -17,6 +17,8 @@ def display_canvas_point(html_id, width=800, heigth=400, var_name="points"):
@param width width
@param html_id the function adds a div section, it should be different for every canevas
@param var_name the function adds this variable to the kernel workspace
@return the list of points
"""
js_libs = local_d3js()
@@ -15,6 +15,8 @@ def local_d3js(default=default_d3js):
@param default use this value otherwise
@return location of d3.min.js
@todo Check about local d3.js
"""
return default
# return "/static/d3js/d3.v3.min.js"

This file was deleted.

Oops, something went wrong.

0 comments on commit 00f7f58

Please sign in to comment.