Skip to content

Instantly share code, notes, and snippets.

@jgbos
Last active August 29, 2015 14:01
Show Gist options
  • Save jgbos/fce5b977038e7eaeb8c5 to your computer and use it in GitHub Desktop.
Save jgbos/fce5b977038e7eaeb8c5 to your computer and use it in GitHub Desktop.
mpld3 tooltip plugin example for ax.bar
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "",
"signature": "sha256:08a290d7ed8e9f9154499fddee44de5ec629459f147490372fc005e9f283c5c6"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"%matplotlib inline\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import mpld3\n",
"mpld3.enable_notebook()"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from mpld3 import utils\n",
"from mpld3 import plugins\n",
"\n",
"class BarLabelToolTip(plugins.PluginBase): \n",
" JAVASCRIPT = \"\"\"\n",
" mpld3.register_plugin(\"barlabeltoolTip\", BarLabelToolTip);\n",
" BarLabelToolTip.prototype = Object.create(mpld3.Plugin.prototype);\n",
" BarLabelToolTip.prototype.constructor = BarLabelToolTip;\n",
" BarLabelToolTip.prototype.requiredProps = [\"id\"];\n",
" BarLabelToolTip.prototype.defaultProps = {\n",
" labels: null,\n",
" hoffset: 0,\n",
" voffset: 10,\n",
" location: 'mouse'\n",
" };\n",
" function BarLabelToolTip(fig, props){\n",
" mpld3.Plugin.call(this, fig, props);\n",
" };\n",
" \n",
" BarLabelToolTip.prototype.draw = function(){\n",
" var svg = d3.select(\"#\" + this.fig.figid);\n",
" var obj = svg.selectAll(\".mpld3-path\");\n",
"\n",
" var labels = this.props.labels;\n",
" var loc = this.props.location;\n",
"\n",
" this.tooltip = this.fig.canvas.append(\"text\")\n",
" .attr(\"class\", \"mpld3-tooltip-text\")\n",
" .attr(\"x\", 0)\n",
" .attr(\"y\", 0)\n",
" .text(\"\")\n",
" .style(\"visibility\", \"hidden\");\n",
"\n",
" function mouseover(d, i) {\n",
" this.tooltip\n",
" .style(\"visibility\", \"visible\")\n",
" .text(i);\n",
" }\n",
"\n",
" function mousemove(d, i) {\n",
" if (loc === \"mouse\") {\n",
" var pos = d3.mouse(this.fig.canvas.node())\n",
" this.x = pos[0] + this.props.hoffset;\n",
" this.y = pos[1] - this.props.voffset;\n",
" }\n",
"\n",
" this.tooltip\n",
" .attr('x', this.x)\n",
" .attr('y', this.y);\n",
" }\n",
"\n",
" function mouseout(d, i) {\n",
" this.tooltip.style(\"visibility\", \"hidden\");\n",
" }\n",
"\n",
" obj\n",
" .on(\"mouseover\", mouseover.bind(this))\n",
" .on(\"mousemove\", mousemove.bind(this))\n",
" .on(\"mouseout\", mouseout.bind(this)); \n",
" }\n",
" \"\"\"\n",
" def __init__(self, bar, labels=None, location=\"mouse\"):\n",
" import matplotlib\n",
" from mpld3.utils import get_id\n",
"\n",
" if location not in [\"bottom left\", \"top left\", \"bottom right\",\n",
" \"top right\", \"mouse\"]:\n",
" raise ValueError(\"invalid location: {0}\".format(location))\n",
"\n",
" self.dict_ = {\"type\": \"barlabeltoolTip\",\n",
" \"id\": get_id(bar),\n",
" \"labels\": labels,\n",
" \"location\": location}\n",
" \n",
"fig, ax = plt.subplots()\n",
"x = range(0,10)\n",
"y = np.random.rand(10)\n",
"bars = ax.bar(x, y)\n",
"\n",
"plugins.connect(fig, BarLabelToolTip(bars))"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"\n",
"\n",
"<style>\n",
"\n",
"</style>\n",
"\n",
"<div id=\"fig_el1437244237502885315561582\"></div>\n",
"<script>\n",
"function mpld3_load_lib(url, callback){\n",
" var s = document.createElement('script');\n",
" s.src = url;\n",
" s.async = true;\n",
" s.onreadystatechange = s.onload = callback;\n",
" s.onerror = function(){console.warn(\"failed to load library \" + url);};\n",
" document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
"}\n",
"\n",
"if(typeof(mpld3) !== \"undefined\" && mpld3._mpld3IsLoaded){\n",
" // already loaded: just create the figure\n",
" !function(mpld3){\n",
" \n",
" mpld3.register_plugin(\"barlabeltoolTip\", BarLabelToolTip);\n",
" BarLabelToolTip.prototype = Object.create(mpld3.Plugin.prototype);\n",
" BarLabelToolTip.prototype.constructor = BarLabelToolTip;\n",
" BarLabelToolTip.prototype.requiredProps = [\"id\"];\n",
" BarLabelToolTip.prototype.defaultProps = {\n",
" labels: null,\n",
" hoffset: 0,\n",
" voffset: 10,\n",
" location: 'mouse'\n",
" };\n",
" function BarLabelToolTip(fig, props){\n",
" mpld3.Plugin.call(this, fig, props);\n",
" };\n",
" \n",
" BarLabelToolTip.prototype.draw = function(){\n",
" var svg = d3.select(\"#\" + this.fig.figid);\n",
" var obj = svg.selectAll(\".mpld3-path\");\n",
"\n",
" var labels = this.props.labels;\n",
" var loc = this.props.location;\n",
"\n",
" this.tooltip = this.fig.canvas.append(\"text\")\n",
" .attr(\"class\", \"mpld3-tooltip-text\")\n",
" .attr(\"x\", 0)\n",
" .attr(\"y\", 0)\n",
" .text(\"\")\n",
" .style(\"visibility\", \"hidden\");\n",
"\n",
" function mouseover(d, i) {\n",
" this.tooltip\n",
" .style(\"visibility\", \"visible\")\n",
" .text(i);\n",
" }\n",
"\n",
" function mousemove(d, i) {\n",
" if (loc === \"mouse\") {\n",
" var pos = d3.mouse(this.fig.canvas.node())\n",
" this.x = pos[0] + this.props.hoffset;\n",
" this.y = pos[1] - this.props.voffset;\n",
" }\n",
"\n",
" this.tooltip\n",
" .attr('x', this.x)\n",
" .attr('y', this.y);\n",
" }\n",
"\n",
" function mouseout(d, i) {\n",
" this.tooltip.style(\"visibility\", \"hidden\");\n",
" }\n",
"\n",
" obj\n",
" .on(\"mouseover\", mouseover.bind(this))\n",
" .on(\"mousemove\", mousemove.bind(this))\n",
" .on(\"mouseout\", mouseout.bind(this)); \n",
" }\n",
" \n",
" mpld3.draw_figure(\"fig_el1437244237502885315561582\", {\"axes\": [{\"xlim\": [0.0, 10.0], \"yscale\": \"linear\", \"axesbg\": \"#FFFFFF\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [0.0, 10.0], \"ylim\": [0.0, 0.90000000000000002], \"paths\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el143724423908496\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el143724423922576\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el143724423924240\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el143724423925520\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el143724423939920\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el143724423941584\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el143724425004176\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el143724425005840\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el143724425019856\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el143724425021520\"}], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 6, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 10, \"tickvalues\": null}], \"lines\": [], \"markers\": [], \"id\": \"el143724423751696\", \"ydomain\": [0.0, 0.90000000000000002], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.125, 0.125, 0.77500000000000002, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"labels\": null, \"type\": \"barlabeltoolTip\", \"id\": \"el143724423609392\", \"location\": \"mouse\"}], \"data\": {\"data10\": [[9.0, 0.0], [9.8, 0.0], [9.8, 0.10668655623352674], [9.0, 0.10668655623352674]], \"data08\": [[7.0, 0.0], [7.8, 0.0], [7.8, 0.8680329429884638], [7.0, 0.8680329429884638]], \"data09\": [[8.0, 0.0], [8.8, 0.0], [8.8, 0.35267286474988435], [8.0, 0.35267286474988435]], \"data06\": [[5.0, 0.0], [5.8, 0.0], [5.8, 0.5879193236628633], [5.0, 0.5879193236628633]], \"data07\": [[6.0, 0.0], [6.8, 0.0], [6.8, 0.4214992577650286], [6.0, 0.4214992577650286]], \"data04\": [[3.0, 0.0], [3.8, 0.0], [3.8, 0.4030930939341876], [3.0, 0.4030930939341876]], \"data05\": [[4.0, 0.0], [4.8, 0.0], [4.8, 0.269780046349707], [4.0, 0.269780046349707]], \"data02\": [[1.0, 0.0], [1.8, 0.0], [1.8, 0.8103629698790773], [1.0, 0.8103629698790773]], \"data03\": [[2.0, 0.0], [2.8, 0.0], [2.8, 0.030820689151714542], [2.0, 0.030820689151714542]], \"data01\": [[0.0, 0.0], [0.8, 0.0], [0.8, 0.726247936028094], [0.0, 0.726247936028094]]}, \"id\": \"el143724423750288\"});\n",
" }(mpld3);\n",
"}else if(typeof define === \"function\" && define.amd){\n",
" // require.js is available: use it to load d3/mpld3\n",
" require.config({paths: {d3: \"https://mpld3.github.io/js/d3.v3.min\"}});\n",
" require([\"d3\"], function(d3){\n",
" window.d3 = d3;\n",
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.3git.js\", function(){\n",
" \n",
" mpld3.register_plugin(\"barlabeltoolTip\", BarLabelToolTip);\n",
" BarLabelToolTip.prototype = Object.create(mpld3.Plugin.prototype);\n",
" BarLabelToolTip.prototype.constructor = BarLabelToolTip;\n",
" BarLabelToolTip.prototype.requiredProps = [\"id\"];\n",
" BarLabelToolTip.prototype.defaultProps = {\n",
" labels: null,\n",
" hoffset: 0,\n",
" voffset: 10,\n",
" location: 'mouse'\n",
" };\n",
" function BarLabelToolTip(fig, props){\n",
" mpld3.Plugin.call(this, fig, props);\n",
" };\n",
" \n",
" BarLabelToolTip.prototype.draw = function(){\n",
" var svg = d3.select(\"#\" + this.fig.figid);\n",
" var obj = svg.selectAll(\".mpld3-path\");\n",
"\n",
" var labels = this.props.labels;\n",
" var loc = this.props.location;\n",
"\n",
" this.tooltip = this.fig.canvas.append(\"text\")\n",
" .attr(\"class\", \"mpld3-tooltip-text\")\n",
" .attr(\"x\", 0)\n",
" .attr(\"y\", 0)\n",
" .text(\"\")\n",
" .style(\"visibility\", \"hidden\");\n",
"\n",
" function mouseover(d, i) {\n",
" this.tooltip\n",
" .style(\"visibility\", \"visible\")\n",
" .text(i);\n",
" }\n",
"\n",
" function mousemove(d, i) {\n",
" if (loc === \"mouse\") {\n",
" var pos = d3.mouse(this.fig.canvas.node())\n",
" this.x = pos[0] + this.props.hoffset;\n",
" this.y = pos[1] - this.props.voffset;\n",
" }\n",
"\n",
" this.tooltip\n",
" .attr('x', this.x)\n",
" .attr('y', this.y);\n",
" }\n",
"\n",
" function mouseout(d, i) {\n",
" this.tooltip.style(\"visibility\", \"hidden\");\n",
" }\n",
"\n",
" obj\n",
" .on(\"mouseover\", mouseover.bind(this))\n",
" .on(\"mousemove\", mousemove.bind(this))\n",
" .on(\"mouseout\", mouseout.bind(this)); \n",
" }\n",
" \n",
" mpld3.draw_figure(\"fig_el1437244237502885315561582\", {\"axes\": [{\"xlim\": [0.0, 10.0], \"yscale\": \"linear\", \"axesbg\": \"#FFFFFF\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [0.0, 10.0], \"ylim\": [0.0, 0.90000000000000002], \"paths\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el143724423908496\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el143724423922576\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el143724423924240\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el143724423925520\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el143724423939920\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el143724423941584\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el143724425004176\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el143724425005840\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el143724425019856\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el143724425021520\"}], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 6, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 10, \"tickvalues\": null}], \"lines\": [], \"markers\": [], \"id\": \"el143724423751696\", \"ydomain\": [0.0, 0.90000000000000002], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.125, 0.125, 0.77500000000000002, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"labels\": null, \"type\": \"barlabeltoolTip\", \"id\": \"el143724423609392\", \"location\": \"mouse\"}], \"data\": {\"data10\": [[9.0, 0.0], [9.8, 0.0], [9.8, 0.10668655623352674], [9.0, 0.10668655623352674]], \"data08\": [[7.0, 0.0], [7.8, 0.0], [7.8, 0.8680329429884638], [7.0, 0.8680329429884638]], \"data09\": [[8.0, 0.0], [8.8, 0.0], [8.8, 0.35267286474988435], [8.0, 0.35267286474988435]], \"data06\": [[5.0, 0.0], [5.8, 0.0], [5.8, 0.5879193236628633], [5.0, 0.5879193236628633]], \"data07\": [[6.0, 0.0], [6.8, 0.0], [6.8, 0.4214992577650286], [6.0, 0.4214992577650286]], \"data04\": [[3.0, 0.0], [3.8, 0.0], [3.8, 0.4030930939341876], [3.0, 0.4030930939341876]], \"data05\": [[4.0, 0.0], [4.8, 0.0], [4.8, 0.269780046349707], [4.0, 0.269780046349707]], \"data02\": [[1.0, 0.0], [1.8, 0.0], [1.8, 0.8103629698790773], [1.0, 0.8103629698790773]], \"data03\": [[2.0, 0.0], [2.8, 0.0], [2.8, 0.030820689151714542], [2.0, 0.030820689151714542]], \"data01\": [[0.0, 0.0], [0.8, 0.0], [0.8, 0.726247936028094], [0.0, 0.726247936028094]]}, \"id\": \"el143724423750288\"});\n",
" });\n",
" });\n",
"}else{\n",
" // require.js not available: dynamically load d3 & mpld3\n",
" mpld3_load_lib(\"https://mpld3.github.io/js/d3.v3.min.js\", function(){\n",
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.3git.js\", function(){\n",
" \n",
" mpld3.register_plugin(\"barlabeltoolTip\", BarLabelToolTip);\n",
" BarLabelToolTip.prototype = Object.create(mpld3.Plugin.prototype);\n",
" BarLabelToolTip.prototype.constructor = BarLabelToolTip;\n",
" BarLabelToolTip.prototype.requiredProps = [\"id\"];\n",
" BarLabelToolTip.prototype.defaultProps = {\n",
" labels: null,\n",
" hoffset: 0,\n",
" voffset: 10,\n",
" location: 'mouse'\n",
" };\n",
" function BarLabelToolTip(fig, props){\n",
" mpld3.Plugin.call(this, fig, props);\n",
" };\n",
" \n",
" BarLabelToolTip.prototype.draw = function(){\n",
" var svg = d3.select(\"#\" + this.fig.figid);\n",
" var obj = svg.selectAll(\".mpld3-path\");\n",
"\n",
" var labels = this.props.labels;\n",
" var loc = this.props.location;\n",
"\n",
" this.tooltip = this.fig.canvas.append(\"text\")\n",
" .attr(\"class\", \"mpld3-tooltip-text\")\n",
" .attr(\"x\", 0)\n",
" .attr(\"y\", 0)\n",
" .text(\"\")\n",
" .style(\"visibility\", \"hidden\");\n",
"\n",
" function mouseover(d, i) {\n",
" this.tooltip\n",
" .style(\"visibility\", \"visible\")\n",
" .text(i);\n",
" }\n",
"\n",
" function mousemove(d, i) {\n",
" if (loc === \"mouse\") {\n",
" var pos = d3.mouse(this.fig.canvas.node())\n",
" this.x = pos[0] + this.props.hoffset;\n",
" this.y = pos[1] - this.props.voffset;\n",
" }\n",
"\n",
" this.tooltip\n",
" .attr('x', this.x)\n",
" .attr('y', this.y);\n",
" }\n",
"\n",
" function mouseout(d, i) {\n",
" this.tooltip.style(\"visibility\", \"hidden\");\n",
" }\n",
"\n",
" obj\n",
" .on(\"mouseover\", mouseover.bind(this))\n",
" .on(\"mousemove\", mousemove.bind(this))\n",
" .on(\"mouseout\", mouseout.bind(this)); \n",
" }\n",
" \n",
" mpld3.draw_figure(\"fig_el1437244237502885315561582\", {\"axes\": [{\"xlim\": [0.0, 10.0], \"yscale\": \"linear\", \"axesbg\": \"#FFFFFF\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [0.0, 10.0], \"ylim\": [0.0, 0.90000000000000002], \"paths\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el143724423908496\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el143724423922576\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el143724423924240\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el143724423925520\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el143724423939920\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el143724423941584\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el143724425004176\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el143724425005840\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el143724425019856\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#0000FF\", \"edgewidth\": 1.0, \"pathcodes\": [\"M\", \"L\", \"L\", \"L\", \"Z\"], \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"none\", \"zorder\": 1, \"alpha\": 1, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el143724425021520\"}], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 6, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"gridOn\": false}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 10, \"tickvalues\": null}], \"lines\": [], \"markers\": [], \"id\": \"el143724423751696\", \"ydomain\": [0.0, 0.90000000000000002], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.125, 0.125, 0.77500000000000002, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"labels\": null, \"type\": \"barlabeltoolTip\", \"id\": \"el143724423609392\", \"location\": \"mouse\"}], \"data\": {\"data10\": [[9.0, 0.0], [9.8, 0.0], [9.8, 0.10668655623352674], [9.0, 0.10668655623352674]], \"data08\": [[7.0, 0.0], [7.8, 0.0], [7.8, 0.8680329429884638], [7.0, 0.8680329429884638]], \"data09\": [[8.0, 0.0], [8.8, 0.0], [8.8, 0.35267286474988435], [8.0, 0.35267286474988435]], \"data06\": [[5.0, 0.0], [5.8, 0.0], [5.8, 0.5879193236628633], [5.0, 0.5879193236628633]], \"data07\": [[6.0, 0.0], [6.8, 0.0], [6.8, 0.4214992577650286], [6.0, 0.4214992577650286]], \"data04\": [[3.0, 0.0], [3.8, 0.0], [3.8, 0.4030930939341876], [3.0, 0.4030930939341876]], \"data05\": [[4.0, 0.0], [4.8, 0.0], [4.8, 0.269780046349707], [4.0, 0.269780046349707]], \"data02\": [[1.0, 0.0], [1.8, 0.0], [1.8, 0.8103629698790773], [1.0, 0.8103629698790773]], \"data03\": [[2.0, 0.0], [2.8, 0.0], [2.8, 0.030820689151714542], [2.0, 0.030820689151714542]], \"data01\": [[0.0, 0.0], [0.8, 0.0], [0.8, 0.726247936028094], [0.0, 0.726247936028094]]}, \"id\": \"el143724423750288\"});\n",
" })\n",
" });\n",
"}\n",
"</script>"
],
"metadata": {},
"output_type": "display_data",
"png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAF8dJREFUeJzt3WtsU+cBxvHHzJZGuZZrG9tTSuzGDpcQlsBY1820YwEk\nMm6a3GkroxmKqNDaaR82bR9GpomSXbTSeprSqWxla0OmrcKsAlcKnSU2RL0tHVQNg4DI5rgrGoUU\nWCZCvLMPgCFNsBNqx6dv/j/Jkg9+j8+TI/Lk+NjHr8OyLEsAACOMK3YAAED+UOoAYBBKHQAMQqkD\ngEEodQAwCKUOAAbJWeqxWEyBQEB+v19NTU2DHr9w4YLWrl2ryspKLVmyRG+99VZBggIAcsta6ul0\nWlu3blUsFlNHR4daWlp0/PjxAWO2b9+uRYsW6ejRo9q9e7eeeOKJggYGANxe1lJPJBLy+XwqLS2V\ny+VSOBxWNBodMOb48eNatmyZJKm8vFxdXV3697//XbjEAIDbylrqqVRKXq83s+zxeJRKpQaMqays\n1Msvvyzp2h+Bf/zjH+ru7i5AVABALllL3eFw5HyCb33rW+rp6VFVVZUikYiqqqr0kY98JG8BAQDD\n58z2oNvtVjKZzCwnk0l5PJ4BYyZNmqRdu3Zllu+77z7NmTNn0HP5fD6dPn36g+YFgDGlrKxMp06d\nGv4KVhZXr1615syZY505c8a6cuWKVVlZaXV0dAwY09PTY125csWyLMt67rnnrI0bNw75XDk2NaZ8\n97vfLXYE22Bf3MS+uIl9cdNIuzPrkbrT6VQkElFtba3S6bTq6+sVDAbV3NwsSWpoaFBHR4e+8pWv\nyOFwaN68eXr++ec/wN8kAMAHkbXUJWnlypVauXLlgH9raGjI3F+6dKlOnDiR/2QAgBHjitIiCIVC\nxY5gG+yLm9gXN7Ev7pzj+jmbwm/I4dAobQoAjDHS7uRIHQAMQqkDgEEodQAZkydPk8PhGJXb5MnT\niv3jGolz6gAyrl1FPlq/p3TCcHBOHQDGMEodAAxCqQOAQSh1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mnz5s3q7e0tdqyimDZtmr7xjW/o\nYx/7mEpKSjR16lR99rOfLXasojp79mzm04SzZ88e1tX6Bf2NGusvq2/n8uXL2rBhg3bu3KmJEycW\nO86oe+WVVzRr1ixVVVWN6aN0Serv71d7e7sef/xxtbe3a8KECcN6iW2i06dP6+mnn1ZXV5fefvtt\nXb58WS+++GKxY9nGjTkSciloqQ/n4qWx5urVq1q/fr2+9KUvac2aNcWOUxSHDx/Wvn37dN999+mR\nRx7Ra6+9pkcffbTYsYrC4/HI4/GopqZGkrRhwwa1t7cXOVVx/OUvf9EnP/lJTZ8+XU6nU+vWrdPh\nw4eLHauoZs+erXfeeUeS9K9//UuzZs3KuU5BS/3Wi5f6+vrU2tqqurq6Qm7S1izLUn19vSoqKvTk\nk08WO07RbN++XclkUmfOnNGePXv00EMPaffu3cWOVRT33HOPvF6vTp48KUlqa2vT3Llzi5yqOAKB\ngI4cOaL//ve/sixLbW1tqqioKHasoqqrq9MLL7wgSXrhhReGdyBoFdj+/fut+++/3yorK7O2b99e\n6M3Z2qFDhyyHw2FVVlZaCxcutBYuXGgdOHCg2LGKKh6PW6tXry52jKL629/+ZlVXV1sLFiyw1q5d\na/X09BQ7UtE0NTVZFRUV1rx586xHH33U6uvrK3akURMOh617773XcrlclsfjsXbt2mW9++671sMP\nP2z5/X5r+fLl1oULF3I+DxcfAYBBxvZHDwDAMJQ6ABiEUgcAg1DqAGAQSh0ADEKpA4BBKHUAMAil\nDgAG+T9vHthDdv8CogAAAABJRU5ErkJggg==\n",
"text": [
"<matplotlib.figure.Figure at 0x107ad1290>"
]
}
],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment