diff --git a/d3graph/__init__.py b/d3graph/__init__.py
index 44d89a9..5c76e2a 100644
--- a/d3graph/__init__.py
+++ b/d3graph/__init__.py
@@ -8,7 +8,7 @@
__author__ = 'Erdogan Tasksen'
__email__ = 'erdogant@gmail.com'
-__version__ = '2.1.0'
+__version__ = '2.1.1'
import jinja2
if version.parse(jinja2.__version__) > version.parse("2.11.3"):
diff --git a/d3graph/d3graph.py b/d3graph/d3graph.py
index 511027d..c7c50fe 100644
--- a/d3graph/d3graph.py
+++ b/d3graph/d3graph.py
@@ -669,7 +669,7 @@ def adjmat2dict(adjmat, min_weight=0, edge_distance_minmax=[1, 10]):
if len(np.unique(df['weight'].values.reshape(-1, 1)))>2:
df['weight_scaled'] = _normalize_size(df['weight'].values.reshape(-1, 1), edge_distance_minmax[0], edge_distance_minmax[1])
else:
- df['weight_scaled'] = np.ones(df.shape[0]) * 5
+ df['weight_scaled'] = np.ones(df.shape[0]) * 1
# Creation dictionary
source_target = list(zip(df['source'], df['target']))
diff --git a/docs/source/Core Functionalities.rst b/docs/source/Core Functionalities.rst
index 125a267..776d2ba 100644
--- a/docs/source/Core Functionalities.rst
+++ b/docs/source/Core Functionalities.rst
@@ -199,6 +199,23 @@ Lets change the **node colors** from the *karate* example using the label inform
+Node color on clustering
+--------------------------
+
+We can also change the node color on the clustering.
+
+.. code:: python
+
+ # Set node properties
+ d3.set_node_properties(label=df['label'].values, color='cluster')
+
+ # Plot
+ d3.show()
+
+.. raw:: html
+
+
+
Node size
-----------------------