Skip to content

Commit 633c2da

Browse files
author
Joseph Damiba
committed
run black
1 parent 0eda9f8 commit 633c2da

File tree

1 file changed

+13
-4
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+13
-4
lines changed

packages/python/plotly/plotly/express/_core.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@
1616

1717

1818
class PxDefaults(object):
19-
__slots__ = ['template', 'width', 'height', 'color_discrete_sequence', 'color_continuous_scale', 'symbol_sequence', 'line_dash_sequence', 'size_max']
20-
19+
__slots__ = [
20+
"template",
21+
"width",
22+
"height",
23+
"color_discrete_sequence",
24+
"color_continuous_scale",
25+
"symbol_sequence",
26+
"line_dash_sequence",
27+
"size_max",
28+
]
29+
2130
def __init__(self):
2231
self.template = None
2332
self.width = None
@@ -27,7 +36,8 @@ def __init__(self):
2736
self.symbol_sequence = None
2837
self.line_dash_sequence = None
2938
self.size_max = 20
30-
39+
40+
3141
defaults = PxDefaults()
3242
del PxDefaults
3343

@@ -741,7 +751,6 @@ def one_group(x):
741751

742752
def apply_default_cascade(args):
743753
# first we apply px.defaults to unspecified args
744-
745754

746755
for param in (
747756
["color_discrete_sequence", "color_continuous_scale"]

0 commit comments

Comments
 (0)