From 169a4a39902c10bef5bd8d2e2d524d620d518db9 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <catanzaromj@pm.me>
Date: Sat, 6 Jul 2024 08:50:57 -0400
Subject: [PATCH] Bump version, remove unnec imports, update release (#261)

* Bump version, remove unnec imports, update release

* Fix broken import
---
 RELEASE.md           | 6 +++++-
 kmapper/_version.py  | 2 +-
 kmapper/plotlyviz.py | 4 ----
 test/test_plotly.py  | 9 ++++-----
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/RELEASE.md b/RELEASE.md
index 8e28e0f8..ec67f23e 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -2,6 +2,8 @@
 
 ## Unreleased
 
+## 2.1.0
+
 ### Added
 
 - ability to live-update the min-intersection threshold for edges on the d3 vis (#231)
@@ -9,8 +11,10 @@
 ### Fixed/Changed
 
 - Update docs and sphinx-gallery to build again.
-- Update CI/CD runners to test modern versions of python; drop python 3.7 compatibility.
+- Update CI/CD runners to test modern versions of python; drop python 3.6, 3.7 compatibility.
 - Change visual tests to use built-in `int` type rather than `np.uint8`.
+- Removed deprecated np.asscalar call (#247, #249, #252).
+- Removed `python-igraph` dependency in favor of `igraph` (#249)
 
 ## 2.0.1
 
diff --git a/kmapper/_version.py b/kmapper/_version.py
index 159d48b8..9aa3f903 100644
--- a/kmapper/_version.py
+++ b/kmapper/_version.py
@@ -1 +1 @@
-__version__ = "2.0.1"
+__version__ = "2.1.0"
diff --git a/kmapper/plotlyviz.py b/kmapper/plotlyviz.py
index 6add0f0a..e0e5018d 100644
--- a/kmapper/plotlyviz.py
+++ b/kmapper/plotlyviz.py
@@ -6,14 +6,10 @@
 from .visuals import (
     _scale_color_values,
     _size_node,
-    _format_projection_statistics,
     _format_cluster_statistics,
     _node_color_function,
     _format_meta,
-    _to_html_format,
-    _map_val2color,
     _graph_data_distribution,
-    _build_histogram,
     _tooltip_components,
 )
 
diff --git a/test/test_plotly.py b/test/test_plotly.py
index a204b213..950e3b4f 100644
--- a/test/test_plotly.py
+++ b/test/test_plotly.py
@@ -3,6 +3,7 @@
 Tests to ensure the plotly data preparation functions work as intended.
 
 """
+
 import pytest
 
 import json
@@ -10,14 +11,13 @@
 from sklearn.datasets import make_circles
 
 from kmapper import KeplerMapper
+from kmapper.visuals import _build_histogram
 from kmapper.plotlyviz import (
-    _build_histogram,
     default_colorscale,
     get_mapper_graph,
-    _map_val2color,
     plotly_graph,
     scomplex_to_graph,
-    node_hist_fig
+    node_hist_fig,
 )
 from kmapper.utils import _test_raised_deprecation_warning
 
@@ -32,7 +32,6 @@ def test_histogram_default_colorscale():
 
 
 def test_kepler_to_graph(sc):
-
     json_graph, mapper_summary, colorf_distribution = get_mapper_graph(sc)
 
     assert json.loads(json.dumps(json_graph)) == json_graph
@@ -41,7 +40,6 @@ def test_kepler_to_graph(sc):
 
 
 def test_kepler_to_graph_with_colorscale(sc):
-
     json_graph, mapper_summary, colorf_distribution = get_mapper_graph(
         sc, colorscale=default_colorscale
     )
@@ -94,6 +92,7 @@ def test_color_function_deprecated_replaced():
         )
         _test_raised_deprecation_warning(w)
 
+
 def test_hovering_widgets_node_hist_fig(sc):
     kmgraph, mapper_summary, n_color_distribution = get_mapper_graph(
         sc, colorscale=default_colorscale