Skip to content

Commit cb4c504

Browse files
bmaranvillegvwilson
authored andcommitted
black formatting
1 parent c62f6cb commit cb4c504

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

plotly/_subplots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,7 @@ def _init_subplot_domain(x_domain, y_domain):
10631063

10641064
def _subplot_type_for_trace_type(trace_type):
10651065
from plotly.validator_cache import ValidatorCache
1066+
10661067
DataValidator = ValidatorCache.get_validator("", "data")
10671068
# from plotly.validators import DataValidator
10681069

plotly/basedatatypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ class is a subclass of both BaseFigure and widgets.DOMWidget.
469469
is invalid AND skip_invalid is False
470470
"""
471471
from .validator_cache import ValidatorCache
472+
472473
DataValidator = ValidatorCache.get_validator("", "data")
473474
FramesValidator = ValidatorCache.get_validator("", "frames")
474475
LayoutValidator = ValidatorCache.get_validator("", "layout")

plotly/validator_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"LayoutValidator": "layout",
99
}
1010

11+
1112
class ValidatorCache(object):
1213
_cache = {}
1314
_json_cache = None
@@ -64,4 +65,3 @@ def get_validator(parent_path, prop_name):
6465
ValidatorCache._cache[key] = validator
6566

6667
return ValidatorCache._cache[key]
67-

0 commit comments

Comments
 (0)