Skip to content

Commit 98b472b

Browse files
committed
added outline to rose chart
1 parent 294c268 commit 98b472b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

truelearn/utils/visualisations/_pie_rose_plotter.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,14 @@ def plot(
301301
r=[average_mean for _ in range(360)],
302302
theta=list(range(360)),
303303
mode="lines",
304-
line_color="black",
304+
line={
305+
"color": "black",
306+
"width": 3,
307+
},
305308
)
306309
)
307310

308-
# add all traces
311+
# add all traces to figure
309312
self.figure.add_traces(data=traces)
310313

311314
topics = [tr_data[2] for tr_data in content_dict]
@@ -360,5 +363,9 @@ def _trace(
360363
theta=[theta],
361364
marker={
362365
"color": colour,
366+
"line": {
367+
"color": "black",
368+
"width": 1,
369+
},
363370
},
364371
)

0 commit comments

Comments
 (0)