{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "
\\n\"+\n", " \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n", " \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n", " \"
\\n\"+\n", " \"\\n\"+\n",
" \"from bokeh.resources import INLINE\\n\"+\n",
" \"output_notebook(resources=INLINE)\\n\"+\n",
" \"
\\n\"+\n",
" \"\");for(e=0;e<7;e++)n.push(' | '+y(t,e,!0)+\" | \");return\"
---|
=0&&(a+=Math.max(0,Math.ceil(e[\"offset\"+t[0].toUpperCase()+t.slice(1)]-i-a-s-.5))),a}function F(e,t,n){var o=ot(e),r=H(e,t,o),i=\"border-box\"===he.css(e,\"boxSizing\",!1,o),l=i;if(nt.test(r)){if(!n)return r;r=\"auto\"}return l=l&&(ue.boxSizingReliable()||r===e.style[t]),(\"auto\"===r||!parseFloat(r)&&\"inline\"===he.css(e,\"display\",!1,o))&&(r=e[\"offset\"+t[0].toUpperCase()+t.slice(1)],l=!0),(r=parseFloat(r)||0)+M(e,t,n||(i?\"border\":\"content\"),l,o,r)+\"px\"}function W(e,t,n,o,r){return new W.prototype.init(e,t,n,o,r)}function j(){pt&&(!1===Z.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(j):e.setTimeout(j,he.fx.interval),he.fx.tick())}function V(){return e.setTimeout(function(){dt=void 0}),dt=Date.now()}function B(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)n=We[o],r[\"margin\"+n]=r[\"padding\"+n]=e;return t&&(r.opacity=r.width=e),r}function q(e,t,n){for(var o,r=(O.tweeners[t]||[]).concat(O.tweeners[\"*\"]),i=0,l=r.length;i\",\"
\"],col:[2,\"
\"],tr:[2,\"\",\"
\"],td:[3,\"
\"],_default:[0,\"\",\"\"]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Ue=/<|?\\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement(\"div\")),n=Z.createElement(\"input\");n.setAttribute(\"type\",\"radio\"),n.setAttribute(\"checked\",\"checked\"),n.setAttribute(\"name\",\"t\"),t.appendChild(n),ue.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML=\"\",ue.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ke=Z.documentElement,Ge=/^key/,Ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qe=/^([^.]*)(?:\\.(.+)|)/;he.event={global:{},add:function(e,t,n,o,r){var i,l,s,a,c,u,d,p,f,h,g,m=He.get(e);if(m)for(n.handler&&(n=(i=n).handler,r=i.selector),r&&he.find.matchesSelector(Ke,r),n.guid||(n.guid=he.guid++),(a=m.events)||(a=m.events={}),(l=m.handle)||(l=m.handle=function(t){return void 0!==he&&he.event.triggered!==t.type?he.event.dispatch.apply(e,arguments):void 0}),t=(t||\"\").match(ke)||[\"\"],c=t.length;c--;)s=Qe.exec(t[c])||[],f=g=s[1],h=(s[2]||\"\").split(\".\").sort(),f&&(d=he.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=he.event.special[f]||{},u=he.extend({type:f,origType:g,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&he.expr.match.needsContext.test(r),namespace:h.join(\".\")},i),(p=a[f])||((p=a[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,o,h,l)||e.addEventListener&&e.addEventListener(f,l)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),he.event.global[f]=!0)},remove:function(e,t,n,o,r){var i,l,s,a,c,u,d,p,f,h,g,m=He.hasData(e)&&He.get(e);if(m&&(a=m.events)){for(t=(t||\"\").match(ke)||[\"\"],c=t.length;c--;)if(s=Qe.exec(t[c])||[],f=g=s[1],h=(s[2]||\"\").split(\".\").sort(),f){for(d=he.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,p=a[f]||[],s=s[2]&&new RegExp(\"(^|\\\\.)\"+h.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),l=i=p.length;i--;)u=p[i],!r&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||o&&o!==u.selector&&(\"**\"!==o||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));l&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||he.removeEvent(e,f,m.handle),delete a[f])}else for(f in a)he.event.remove(e,f+t[c],n,o,!0);he.isEmptyObject(a)&&He.remove(e,\"handle events\")}},dispatch:function(e){var t,n,o,r,i,l,s=he.event.fix(e),a=new Array(arguments.length),c=(He.get(this,\"events\")||{})[s.type]||[],u=he.event.special[s.type]||{};for(a[0]=s,t=1;t\",\"