Skip to content

Commit 92458ea

Browse files
committed
fix setting colors
1 parent 7dd20f4 commit 92458ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3081,9 +3081,9 @@ def __init__(self, hist_data, group_labels,
30813081
self.start = []
30823082
self.end = []
30833083
if 'colors' in kwargs:
3084-
self.colors = colors
3084+
self.colors = kwargs['colors']
30853085
else:
3086-
self.colors = colors = [
3086+
self.colors = [
30873087
"rgb(31, 119, 180)", "rgb(255, 127, 14)",
30883088
"rgb(44, 160, 44)", "rgb(214, 39, 40)",
30893089
"rgb(148, 103, 189)", "rgb(140, 86, 75)",

0 commit comments

Comments
 (0)