diff --git a/examples/gallery/demos/bokeh/autompg_histogram.ipynb b/examples/gallery/demos/bokeh/autompg_histogram.ipynb index 4b5003d03f..6c209a2082 100644 --- a/examples/gallery/demos/bokeh/autompg_histogram.ipynb +++ b/examples/gallery/demos/bokeh/autompg_histogram.ipynb @@ -15,8 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('bokeh','matplotlib')" ] diff --git a/examples/gallery/demos/bokeh/autompg_violins.ipynb b/examples/gallery/demos/bokeh/autompg_violins.ipynb index 4dd6caf6a6..04fb690400 100644 --- a/examples/gallery/demos/bokeh/autompg_violins.ipynb +++ b/examples/gallery/demos/bokeh/autompg_violins.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "\n", "from bokeh.sampledata.autompg import autompg\n", diff --git a/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb b/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb index d2def3ecf3..1506bfc6eb 100644 --- a/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb +++ b/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh', 'matplotlib')" ] diff --git a/examples/gallery/demos/bokeh/bars_economic.ipynb b/examples/gallery/demos/bokeh/bars_economic.ipynb index 407e2ff0a6..6801997738 100644 --- a/examples/gallery/demos/bokeh/bars_economic.ipynb +++ b/examples/gallery/demos/bokeh/bars_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('bokeh','matplotlib')" diff --git a/examples/gallery/demos/bokeh/boxplot_chart.ipynb b/examples/gallery/demos/bokeh/boxplot_chart.ipynb index d71cb95d08..072e5fa6de 100644 --- a/examples/gallery/demos/bokeh/boxplot_chart.ipynb +++ b/examples/gallery/demos/bokeh/boxplot_chart.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/dot_example.ipynb b/examples/gallery/demos/bokeh/dot_example.ipynb index 2f63ac6eec..129b360217 100644 --- a/examples/gallery/demos/bokeh/dot_example.ipynb +++ b/examples/gallery/demos/bokeh/dot_example.ipynb @@ -13,7 +13,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/dropdown_economic.ipynb b/examples/gallery/demos/bokeh/dropdown_economic.ipynb index d5025c9b2a..fb1347f812 100644 --- a/examples/gallery/demos/bokeh/dropdown_economic.ipynb +++ b/examples/gallery/demos/bokeh/dropdown_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('bokeh')" diff --git a/examples/gallery/demos/bokeh/hextile_movie_ratings.ipynb b/examples/gallery/demos/bokeh/hextile_movie_ratings.ipynb index 99fad2043a..d61498c4e3 100644 --- a/examples/gallery/demos/bokeh/hextile_movie_ratings.ipynb +++ b/examples/gallery/demos/bokeh/hextile_movie_ratings.ipynb @@ -6,7 +6,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('bokeh')" diff --git a/examples/gallery/demos/bokeh/iris_density_grid.ipynb b/examples/gallery/demos/bokeh/iris_density_grid.ipynb index d4017fd64a..729db20906 100644 --- a/examples/gallery/demos/bokeh/iris_density_grid.ipynb +++ b/examples/gallery/demos/bokeh/iris_density_grid.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/iris_example.ipynb b/examples/gallery/demos/bokeh/iris_example.ipynb index 95750de082..bce95c8c04 100644 --- a/examples/gallery/demos/bokeh/iris_example.ipynb +++ b/examples/gallery/demos/bokeh/iris_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/iris_grouped_grid.ipynb b/examples/gallery/demos/bokeh/iris_grouped_grid.ipynb index f0bd653abd..2ac3d0923e 100644 --- a/examples/gallery/demos/bokeh/iris_grouped_grid.ipynb +++ b/examples/gallery/demos/bokeh/iris_grouped_grid.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh', width=95)" ] diff --git a/examples/gallery/demos/bokeh/iris_splom_example.ipynb b/examples/gallery/demos/bokeh/iris_splom_example.ipynb index ce566d8117..016dd9df4b 100644 --- a/examples/gallery/demos/bokeh/iris_splom_example.ipynb +++ b/examples/gallery/demos/bokeh/iris_splom_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/point_draw_triangulate.ipynb b/examples/gallery/demos/bokeh/point_draw_triangulate.ipynb index c977c72785..dbfdadb994 100644 --- a/examples/gallery/demos/bokeh/point_draw_triangulate.ipynb +++ b/examples/gallery/demos/bokeh/point_draw_triangulate.ipynb @@ -6,7 +6,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "from holoviews.streams import PointDraw\n", "hv.extension('bokeh')" diff --git a/examples/gallery/demos/bokeh/route_chord.ipynb b/examples/gallery/demos/bokeh/route_chord.ipynb index 040b6b20d0..5403747d33 100644 --- a/examples/gallery/demos/bokeh/route_chord.ipynb +++ b/examples/gallery/demos/bokeh/route_chord.ipynb @@ -15,8 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "from bokeh.sampledata.airport_routes import routes, airports\n", "\n", diff --git a/examples/gallery/demos/bokeh/scatter_economic.ipynb b/examples/gallery/demos/bokeh/scatter_economic.ipynb index fdf2121b06..3b29f52f77 100644 --- a/examples/gallery/demos/bokeh/scatter_economic.ipynb +++ b/examples/gallery/demos/bokeh/scatter_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('bokeh')" diff --git a/examples/gallery/demos/bokeh/step_chart.ipynb b/examples/gallery/demos/bokeh/step_chart.ipynb index 2a86280e9c..99011da66e 100644 --- a/examples/gallery/demos/bokeh/step_chart.ipynb +++ b/examples/gallery/demos/bokeh/step_chart.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/texas_choropleth_example.ipynb b/examples/gallery/demos/bokeh/texas_choropleth_example.ipynb index 3f3c0194ad..380efc7a7d 100644 --- a/examples/gallery/demos/bokeh/texas_choropleth_example.ipynb +++ b/examples/gallery/demos/bokeh/texas_choropleth_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/bokeh/topographic_hillshading.ipynb b/examples/gallery/demos/bokeh/topographic_hillshading.ipynb index dcc457b845..32116121e7 100644 --- a/examples/gallery/demos/bokeh/topographic_hillshading.ipynb +++ b/examples/gallery/demos/bokeh/topographic_hillshading.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/gallery/demos/matplotlib/autompg_histogram.ipynb b/examples/gallery/demos/matplotlib/autompg_histogram.ipynb index 6cc3796ca8..c23c729023 100644 --- a/examples/gallery/demos/matplotlib/autompg_histogram.ipynb +++ b/examples/gallery/demos/matplotlib/autompg_histogram.ipynb @@ -15,8 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/gallery/demos/matplotlib/autompg_violins.ipynb b/examples/gallery/demos/matplotlib/autompg_violins.ipynb index d5305de63f..5f8164a1e5 100644 --- a/examples/gallery/demos/matplotlib/autompg_violins.ipynb +++ b/examples/gallery/demos/matplotlib/autompg_violins.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "\n", "from bokeh.sampledata.autompg import autompg\n", diff --git a/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb b/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb index 17c6f51ed6..8ab0b54dda 100644 --- a/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb +++ b/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "%output fig='svg'" diff --git a/examples/gallery/demos/matplotlib/bars_economic.ipynb b/examples/gallery/demos/matplotlib/bars_economic.ipynb index 04246aed20..f6262b2683 100644 --- a/examples/gallery/demos/matplotlib/bars_economic.ipynb +++ b/examples/gallery/demos/matplotlib/bars_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('matplotlib')" diff --git a/examples/gallery/demos/matplotlib/boxplot_chart.ipynb b/examples/gallery/demos/matplotlib/boxplot_chart.ipynb index 1e0c80e177..cbdf222ffe 100644 --- a/examples/gallery/demos/matplotlib/boxplot_chart.ipynb +++ b/examples/gallery/demos/matplotlib/boxplot_chart.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "%output fig='svg'" diff --git a/examples/gallery/demos/matplotlib/dropdown_economic.ipynb b/examples/gallery/demos/matplotlib/dropdown_economic.ipynb index d29114b4cb..9ce2a8b483 100644 --- a/examples/gallery/demos/matplotlib/dropdown_economic.ipynb +++ b/examples/gallery/demos/matplotlib/dropdown_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('matplotlib')" diff --git a/examples/gallery/demos/matplotlib/hextile_movie_ratings.ipynb b/examples/gallery/demos/matplotlib/hextile_movie_ratings.ipynb index a292d26dc3..d13a397e5a 100644 --- a/examples/gallery/demos/matplotlib/hextile_movie_ratings.ipynb +++ b/examples/gallery/demos/matplotlib/hextile_movie_ratings.ipynb @@ -6,7 +6,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", diff --git a/examples/gallery/demos/matplotlib/iris_density_grid.ipynb b/examples/gallery/demos/matplotlib/iris_density_grid.ipynb index 1548c5983f..0d0d9cff91 100644 --- a/examples/gallery/demos/matplotlib/iris_density_grid.ipynb +++ b/examples/gallery/demos/matplotlib/iris_density_grid.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/gallery/demos/matplotlib/iris_example.ipynb b/examples/gallery/demos/matplotlib/iris_example.ipynb index 78e940e970..a54c8a10cd 100644 --- a/examples/gallery/demos/matplotlib/iris_example.ipynb +++ b/examples/gallery/demos/matplotlib/iris_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "%output fig='svg'" diff --git a/examples/gallery/demos/matplotlib/iris_grouped_grid.ipynb b/examples/gallery/demos/matplotlib/iris_grouped_grid.ipynb index e510d5715f..cc0a0e5af1 100644 --- a/examples/gallery/demos/matplotlib/iris_grouped_grid.ipynb +++ b/examples/gallery/demos/matplotlib/iris_grouped_grid.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/gallery/demos/matplotlib/iris_splom_example.ipynb b/examples/gallery/demos/matplotlib/iris_splom_example.ipynb index ab09f197d0..756c7a000f 100644 --- a/examples/gallery/demos/matplotlib/iris_splom_example.ipynb +++ b/examples/gallery/demos/matplotlib/iris_splom_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/gallery/demos/matplotlib/route_chord.ipynb b/examples/gallery/demos/matplotlib/route_chord.ipynb index c0b46989e8..6d749c6166 100644 --- a/examples/gallery/demos/matplotlib/route_chord.ipynb +++ b/examples/gallery/demos/matplotlib/route_chord.ipynb @@ -15,8 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "from bokeh.sampledata.airport_routes import routes, airports\n", "\n", diff --git a/examples/gallery/demos/matplotlib/scatter_economic.ipynb b/examples/gallery/demos/matplotlib/scatter_economic.ipynb index b74144ce82..ea2ad6e302 100644 --- a/examples/gallery/demos/matplotlib/scatter_economic.ipynb +++ b/examples/gallery/demos/matplotlib/scatter_economic.ipynb @@ -15,7 +15,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "hv.extension('matplotlib')" diff --git a/examples/gallery/demos/matplotlib/step_chart.ipynb b/examples/gallery/demos/matplotlib/step_chart.ipynb index fd204ea5c5..906498f0e5 100644 --- a/examples/gallery/demos/matplotlib/step_chart.ipynb +++ b/examples/gallery/demos/matplotlib/step_chart.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/gallery/demos/matplotlib/texas_choropleth_example.ipynb b/examples/gallery/demos/matplotlib/texas_choropleth_example.ipynb index a120a89011..4471bd8b05 100644 --- a/examples/gallery/demos/matplotlib/texas_choropleth_example.ipynb +++ b/examples/gallery/demos/matplotlib/texas_choropleth_example.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "%output fig='svg'" diff --git a/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb b/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb index 1895e113e6..0386db9824 100644 --- a/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb +++ b/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "%output fig='svg'" @@ -37,7 +36,6 @@ "outputs": [], "source": [ "import numpy as np\n", - "import holoviews as hv\n", "import matplotlib.pyplot as plt\n", "from matplotlib.cbook import get_sample_data\n", "from matplotlib.colors import LightSource\n", diff --git a/examples/reference/elements/bokeh/Bounds.ipynb b/examples/reference/elements/bokeh/Bounds.ipynb index 06c357911c..588b18469b 100644 --- a/examples/reference/elements/bokeh/Bounds.ipynb +++ b/examples/reference/elements/bokeh/Bounds.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/elements/bokeh/Chord.ipynb b/examples/reference/elements/bokeh/Chord.ipynb index 7576d15ff7..86d96df621 100644 --- a/examples/reference/elements/bokeh/Chord.ipynb +++ b/examples/reference/elements/bokeh/Chord.ipynb @@ -21,7 +21,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "from bokeh.sampledata.les_mis import data\n", diff --git a/examples/reference/elements/bokeh/Graph.ipynb b/examples/reference/elements/bokeh/Graph.ipynb index 84483660ed..3c6f7f329d 100644 --- a/examples/reference/elements/bokeh/Graph.ipynb +++ b/examples/reference/elements/bokeh/Graph.ipynb @@ -20,9 +20,7 @@ "outputs": [], "source": [ "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", - "import networkx as nx\n", "\n", "hv.extension('bokeh')\n", "\n", diff --git a/examples/reference/elements/bokeh/ItemTable.ipynb b/examples/reference/elements/bokeh/ItemTable.ipynb index aa03e0a0f2..71bfd69cf1 100644 --- a/examples/reference/elements/bokeh/ItemTable.ipynb +++ b/examples/reference/elements/bokeh/ItemTable.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/elements/bokeh/Sankey.ipynb b/examples/reference/elements/bokeh/Sankey.ipynb index 2eab61b125..6341f81895 100644 --- a/examples/reference/elements/bokeh/Sankey.ipynb +++ b/examples/reference/elements/bokeh/Sankey.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/elements/bokeh/Spline.ipynb b/examples/reference/elements/bokeh/Spline.ipynb index 52e0523229..41a1cffc36 100644 --- a/examples/reference/elements/bokeh/Spline.ipynb +++ b/examples/reference/elements/bokeh/Spline.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/elements/bokeh/Table.ipynb b/examples/reference/elements/bokeh/Table.ipynb index 7d7b760fff..7b03957500 100644 --- a/examples/reference/elements/bokeh/Table.ipynb +++ b/examples/reference/elements/bokeh/Table.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/elements/bokeh/TriMesh.ipynb b/examples/reference/elements/bokeh/TriMesh.ipynb index 860f6f90de..a2c5c8604e 100644 --- a/examples/reference/elements/bokeh/TriMesh.ipynb +++ b/examples/reference/elements/bokeh/TriMesh.ipynb @@ -20,7 +20,6 @@ "outputs": [], "source": [ "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "from scipy.spatial import Delaunay\n", "\n", diff --git a/examples/reference/elements/matplotlib/Bounds.ipynb b/examples/reference/elements/matplotlib/Bounds.ipynb index 9bca25705e..25e834af88 100644 --- a/examples/reference/elements/matplotlib/Bounds.ipynb +++ b/examples/reference/elements/matplotlib/Bounds.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/reference/elements/matplotlib/Chord.ipynb b/examples/reference/elements/matplotlib/Chord.ipynb index e7b917945e..3d470fbc00 100644 --- a/examples/reference/elements/matplotlib/Chord.ipynb +++ b/examples/reference/elements/matplotlib/Chord.ipynb @@ -21,7 +21,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import pandas as pd\n", "import holoviews as hv\n", "from bokeh.sampledata.les_mis import data\n", diff --git a/examples/reference/elements/matplotlib/Graph.ipynb b/examples/reference/elements/matplotlib/Graph.ipynb index 443fdf5c1b..532d2bec29 100644 --- a/examples/reference/elements/matplotlib/Graph.ipynb +++ b/examples/reference/elements/matplotlib/Graph.ipynb @@ -22,9 +22,7 @@ "outputs": [], "source": [ "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", - "import networkx as nx\n", "\n", "hv.extension('matplotlib')" ] diff --git a/examples/reference/elements/matplotlib/ItemTable.ipynb b/examples/reference/elements/matplotlib/ItemTable.ipynb index 6150d71c52..22bceac611 100644 --- a/examples/reference/elements/matplotlib/ItemTable.ipynb +++ b/examples/reference/elements/matplotlib/ItemTable.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/reference/elements/matplotlib/Sankey.ipynb b/examples/reference/elements/matplotlib/Sankey.ipynb index ea626d5e3f..31c6cd361f 100644 --- a/examples/reference/elements/matplotlib/Sankey.ipynb +++ b/examples/reference/elements/matplotlib/Sankey.ipynb @@ -17,7 +17,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')\n", "\n", diff --git a/examples/reference/elements/matplotlib/Spline.ipynb b/examples/reference/elements/matplotlib/Spline.ipynb index c8c49e460e..dab3cf1b6d 100644 --- a/examples/reference/elements/matplotlib/Spline.ipynb +++ b/examples/reference/elements/matplotlib/Spline.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/reference/elements/matplotlib/Table.ipynb b/examples/reference/elements/matplotlib/Table.ipynb index 267c2b65c0..825f683b5e 100644 --- a/examples/reference/elements/matplotlib/Table.ipynb +++ b/examples/reference/elements/matplotlib/Table.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('matplotlib')" ] diff --git a/examples/reference/elements/matplotlib/TriMesh.ipynb b/examples/reference/elements/matplotlib/TriMesh.ipynb index ea0d730755..40e4ef21aa 100644 --- a/examples/reference/elements/matplotlib/TriMesh.ipynb +++ b/examples/reference/elements/matplotlib/TriMesh.ipynb @@ -20,7 +20,6 @@ "outputs": [], "source": [ "import numpy as np\n", - "import pandas as pd\n", "import holoviews as hv\n", "from scipy.spatial import Delaunay\n", "\n", diff --git a/examples/reference/elements/plotly/ItemTable.ipynb b/examples/reference/elements/plotly/ItemTable.ipynb index 4e97beadbc..8fb654be2f 100644 --- a/examples/reference/elements/plotly/ItemTable.ipynb +++ b/examples/reference/elements/plotly/ItemTable.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('plotly')" ] diff --git a/examples/reference/elements/plotly/Table.ipynb b/examples/reference/elements/plotly/Table.ipynb index e393cf1264..cf8aa5cfa6 100644 --- a/examples/reference/elements/plotly/Table.ipynb +++ b/examples/reference/elements/plotly/Table.ipynb @@ -19,7 +19,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "hv.extension('plotly')" ] diff --git a/examples/reference/features/bokeh/table_hooks_example.ipynb b/examples/reference/features/bokeh/table_hooks_example.ipynb index 172c8a9d76..6fb0f85c07 100644 --- a/examples/reference/features/bokeh/table_hooks_example.ipynb +++ b/examples/reference/features/bokeh/table_hooks_example.ipynb @@ -6,7 +6,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "from bokeh.models import HTMLTemplateFormatter\n", "hv.extension('bokeh')" diff --git a/examples/reference/streams/bokeh/BoxEdit.ipynb b/examples/reference/streams/bokeh/BoxEdit.ipynb index f6f8f44b3e..929ac824a4 100644 --- a/examples/reference/streams/bokeh/BoxEdit.ipynb +++ b/examples/reference/streams/bokeh/BoxEdit.ipynb @@ -20,7 +20,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "from holoviews import streams\n", "hv.extension('bokeh')" diff --git a/examples/reference/streams/bokeh/PointDraw.ipynb b/examples/reference/streams/bokeh/PointDraw.ipynb index d602c03a4a..9929c6f73e 100644 --- a/examples/reference/streams/bokeh/PointDraw.ipynb +++ b/examples/reference/streams/bokeh/PointDraw.ipynb @@ -20,7 +20,6 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "from holoviews import streams\n", "hv.extension('bokeh')" diff --git a/examples/reference/streams/bokeh/PointerX.ipynb b/examples/reference/streams/bokeh/PointerX.ipynb index d25794e48e..7010434193 100644 --- a/examples/reference/streams/bokeh/PointerX.ipynb +++ b/examples/reference/streams/bokeh/PointerX.ipynb @@ -22,7 +22,6 @@ "source": [ "import numpy as np\n", "import holoviews as hv\n", - "from holoviews import streams\n", "hv.extension('bokeh')" ] }, diff --git a/examples/reference/streams/bokeh/PolyDraw.ipynb b/examples/reference/streams/bokeh/PolyDraw.ipynb index b4b9493732..20e8a9f369 100644 --- a/examples/reference/streams/bokeh/PolyDraw.ipynb +++ b/examples/reference/streams/bokeh/PolyDraw.ipynb @@ -20,10 +20,8 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import holoviews as hv\n", "from holoviews import streams\n", - "from matplotlib.path import Path\n", "\n", "hv.extension('bokeh')" ] diff --git a/examples/reference/streams/bokeh/RangeXY.ipynb b/examples/reference/streams/bokeh/RangeXY.ipynb index cb8d0f2eb5..e966921786 100644 --- a/examples/reference/streams/bokeh/RangeXY.ipynb +++ b/examples/reference/streams/bokeh/RangeXY.ipynb @@ -22,7 +22,6 @@ "source": [ "import numpy as np\n", "import holoviews as hv\n", - "from holoviews import streams\n", "hv.extension('bokeh')" ] }, diff --git a/examples/reference/streams/bokeh/Tap.ipynb b/examples/reference/streams/bokeh/Tap.ipynb index add474b4d1..ff1d5cad95 100644 --- a/examples/reference/streams/bokeh/Tap.ipynb +++ b/examples/reference/streams/bokeh/Tap.ipynb @@ -23,7 +23,6 @@ "import pandas as pd\n", "import numpy as np\n", "import holoviews as hv\n", - "from holoviews import streams\n", "hv.extension('bokeh', width=90)" ] }, diff --git a/examples/topics/simulation/sri_model.ipynb b/examples/topics/simulation/sri_model.ipynb index 2f0bf612d7..d84c35af11 100755 --- a/examples/topics/simulation/sri_model.ipynb +++ b/examples/topics/simulation/sri_model.ipynb @@ -209,9 +209,7 @@ " network_hmap = hv.HoloMap(kdims='Time')\n", " sird = np.zeros((steps, 5))\n", " \n", - " # Declare dimensions and labels\n", - " spatial_dims = [hv.Dimension('x', range=(-.1, 1.1)),\n", - " hv.Dimension('y', range=(-.1, 1.1))]\n", + " # Declare labels\n", " state_labels = ['Susceptible', 'Vaccinated', 'Infected', 'Recovered', 'Dead']\n", "\n", " # Text annotation\n", @@ -270,7 +268,6 @@ "\n", "# Set colors and style options for the Element types\n", "from holoviews import Store, Options\n", - "from holoviews.core.options import Palette\n", "opts = Store.options()\n", "\n", "colormap = {k: v for k, v in zip('SVIRD', hv.Cycle().values)}\n", diff --git a/examples/user_guide/08-Gridded_Datasets.ipynb b/examples/user_guide/08-Gridded_Datasets.ipynb index d5689c55e6..9e63f36505 100644 --- a/examples/user_guide/08-Gridded_Datasets.ipynb +++ b/examples/user_guide/08-Gridded_Datasets.ipynb @@ -311,7 +311,6 @@ "metadata": {}, "outputs": [], "source": [ - "import xarray as xr\n", "xr_ds = xr.tutorial.load_dataset(\"air_temperature\")\n", "xr_ds" ]