Skip to content

Commit 5c9cb4e

Browse files
committed
Minor fixes
1 parent 3304a67 commit 5c9cb4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/Textures.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"import numpy as np\n",
5757
"\n",
5858
"def gen_checkers(width, height, n_checkers_x, n_checkers_y):\n",
59-
" array = np.ones((width, height, 3))\n",
59+
" array = np.ones((width, height, 3), dtype='float32')\n",
6060
" \n",
6161
" # width in texels of each checker\n",
6262
" checker_w = width / n_checkers_x\n",

js/scripts/templates/js_index.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Some static assets may be required by the custom widget javascript. The base
1111
// url for the notebook is not known at build time and is therefore computed
1212
// dynamically.
13-
__webpack_public_path__ = document.querySelector('body').getAttribute('data-base-url') + 'nbextensions/pythreejs/';
13+
__webpack_public_path__ = document.querySelector('body').getAttribute('data-base-url') + 'nbextensions/jupyter-threejs/';
1414

1515
// Export widget models and views, and the npm package version number.
1616
module.exports['version'] = require('../package.json').version;

0 commit comments

Comments
 (0)