Skip to content

Commit 7a5d85b

Browse files
committed
Improved notebooks settings
1 parent 61a9ab2 commit 7a5d85b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/source/notebooks/circles.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
fig = plot.plot_plotly(
9797
colors=labels,
9898
cmap=["jet", "viridis", "cividis"],
99+
node_size=[0.0, 0.5, 1.0, 1.5, 2.0],
99100
agg=np.nanmean,
100101
width=600,
101102
height=600,
@@ -118,6 +119,7 @@
118119
fig = plot.plot_plotly(
119120
colors=labels,
120121
cmap=["jet", "viridis", "cividis"],
122+
node_size=[0.0, 0.5, 1.0, 1.5, 2.0],
121123
agg=np.nanstd,
122124
width=600,
123125
height=600,

docs/source/notebooks/digits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ def mode(arr):
103103
colors=labels,
104104
cmap=["jet", "viridis", "cividis"],
105105
agg=mode,
106+
node_size=[0.0, 0.5, 1.0, 1.5, 2.0],
106107
title="mode of digits",
107108
width=600,
108109
height=600,
109-
node_size=0.5,
110110
)
111111

112112
fig.show(config={"scrollZoom": True}, renderer="notebook_connected")
@@ -134,10 +134,10 @@ def entropy(arr):
134134
colors=labels,
135135
cmap=["jet", "viridis", "cividis"],
136136
agg=entropy,
137+
node_size=[0.0, 0.5, 1.0, 1.5, 2.0],
137138
title="entropy of digits",
138139
width=600,
139140
height=600,
140-
node_size=0.5,
141141
)
142142

143143
fig.show(config={"scrollZoom": True}, renderer="notebook_connected")

0 commit comments

Comments
 (0)