You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thats example works, but from time to time. Run cell work properly 1 from 10 attempts. Some race condition happened and in browser I see JavaScript error:
Uncaught TypeError: X.watchTransition is not a function
Mostly useless, because just draw first chart emit message what it will be loaded automatically.
But what much more interesting, according to browser console it loads:
nv.d3.min.js?_=1457861845889
d3.min.js?_=1457861845890
d3.min.js?_=1457861845891
nv.d3.min.js?_=1457861845892
nv.d3.min.js?_=1457861845893
For all initiator jquery.min.js?v=20160311105719:6.
nv.d3.min.js loaded 3 times, and d3.min.js twice!
Then I run first example from notebook:
type = 'stackedAreaChart'
chart = nvd3.stackedAreaChart(name=type,height=450,width=800,use_interactive_guideline=True)
nb_element = 50
xdata = range(nb_element)
ydata = [i * random.randint(1, 10) for i in range(nb_element)]
ydata2 = [x * 2 for x in ydata]
ydata3 = [x * 5 for x in ydata]
chart.add_serie(name="serie 1", y=ydata, x=xdata)
chart.add_serie(name="serie 2", y=ydata2, x=xdata)
chart.add_serie(name="serie 3", y=ydata3, x=xdata)
chart
It load nv.d3.min.css, d3.min.js, nv.d3.min.js.
If I rerun it just after few seconds it shows empty cell result.
In console bunch of errors:
d3.min.js?_=1457861845891:1: Uncaught TypeError: Cannot read property 'sourceEvent' of null
nv.d3.min.js?_=1457861845896:6: Uncaught TypeError: X.watchTransition is not a function
The text was updated successfully, but these errors were encountered:
I'm new in
python-nvd3
(nvd3
too) and try evaluate example from https://gist.github.com/jdavidheiser/9552624#file-nvd3-ipython-notebook-demoThats example works, but from time to time. Run cell work properly 1 from 10 attempts. Some race condition happened and in browser I see JavaScript error:
Brief googling I found similar complain http://stackoverflow.com/questions/29899013/ipython-notebook-can-not-show-multiple-charts-with-d3js-or-nvd3 and possible found underneath bugreport on
nvd3
: novus/nvd3#1219What I also discover strange
Mostly useless, because just draw first chart emit message what it will be loaded automatically.
But what much more interesting, according to browser console it loads:
For all initiator jquery.min.js?v=20160311105719:6.
nv.d3.min.js loaded 3 times, and d3.min.js twice!
Then I run first example from notebook:
It load
nv.d3.min.css
,d3.min.js
,nv.d3.min.js
.If I rerun it just after few seconds it shows empty cell result.
In console bunch of errors:
The text was updated successfully, but these errors were encountered: