Skip to content

Commit

Permalink
Using hv.extension() consistently in example notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Jun 18, 2017
1 parent 041cf45 commit 3645264
Show file tree
Hide file tree
Showing 106 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion examples/demos/bokeh/area_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/bachelors_degrees_by_gender.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh', 'matplotlib')"
"hv.extension('bokeh', 'matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/boxplot_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/dot_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/histogram_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"import scipy\n",
"import scipy.special\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/iris_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/iris_splom_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh', width=95)"
"hv.extension('bokeh', width=95)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/legend_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/lesmis_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/lorenz_attractor_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh', 'matplotlib')"
"hv.extension('bokeh', 'matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/measles_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"import numpy as np\n",
"import holoviews as hv\n",
"import pandas as pd\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/quiver_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/step_chart_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/stocks_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@
"import numpy as np\n",
"import pandas as pd\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/texas_choropleth_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/topographic_hillshading.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/bokeh/us_unemployment_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import pandas as pd\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/area_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/boxplot_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/histogram_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"import numpy as np\n",
"import scipy\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/iris_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/iris_splom_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/legend_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/lorenz_attractor_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/measles_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"import numpy as np\n",
"import holoviews as hv\n",
"import pandas as pd\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/polar_scatter_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/quiver_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/step_chart_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/stocks_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"import numpy as np\n",
"import pandas as pd\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg' dpi=120"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/surface_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/texas_choropleth_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/topographic_hillshading.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output fig='svg'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/trisurf3d_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')\n",
"hv.extension('matplotlib')\n",
"%output backend='matplotlib' size=200"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/matplotlib/us_unemployment_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import pandas as pd\n",
"import holoviews as hv\n",
"hv.notebook_extension('matplotlib')"
"hv.extension('matplotlib')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/plotly/surface_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('plotly')"
"hv.extension('plotly')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/plotly/trisurf3d_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('plotly')"
"hv.extension('plotly')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Area.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Bars.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Bounds.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Box.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/BoxWhisker.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Contours.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/elements/bokeh/Curve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": [
"import numpy as np\n",
"import holoviews as hv\n",
"hv.notebook_extension('bokeh')"
"hv.extension('bokeh')"
]
},
{
Expand Down
Loading

0 comments on commit 3645264

Please sign in to comment.