@@ -34,46 +34,33 @@ def _subplotid_validators(self):
3434 -------
3535 dict
3636 """
37- # from plotly.validators.layout import (
38- # ColoraxisValidator,
39- # GeoValidator,
40- # LegendValidator,
41- # MapValidator,
42- # MapboxValidator,
43- # PolarValidator,
44- # SceneValidator,
45- # SmithValidator,
46- # TernaryValidator,
47- # XaxisValidator,
48- # YaxisValidator,
49- # )
50-
51- from plotly .validator_cache import ValidatorCache
37+ from plotly .validators .layout import (
38+ ColoraxisValidator ,
39+ GeoValidator ,
40+ LegendValidator ,
41+ MapValidator ,
42+ MapboxValidator ,
43+ PolarValidator ,
44+ SceneValidator ,
45+ SmithValidator ,
46+ TernaryValidator ,
47+ XaxisValidator ,
48+ YaxisValidator ,
49+ )
5250
5351 return {
54- "coloraxis" : ValidatorCache . get_validator ( "layout" , "coloraxis" ) ,
55- "geo" : ValidatorCache . get_validator ( "layout" , "geo" ) ,
56- "legend" : ValidatorCache . get_validator ( "layout" , "legend" ) ,
57- "map" : ValidatorCache . get_validator ( "layout" , "map" ) ,
58- "mapbox" : ValidatorCache . get_validator ( "layout" , "mapbox" ) ,
59- "polar" : ValidatorCache . get_validator ( "layout" , "polar" ) ,
60- "scene" : ValidatorCache . get_validator ( "layout" , "scene" ) ,
61- "smith" : ValidatorCache . get_validator ( "layout" , "smith" ) ,
62- "ternary" : ValidatorCache . get_validator ( "layout" , "ternary" ) ,
63- "xaxis" : ValidatorCache . get_validator ( "layout" , "xaxis" ) ,
64- "yaxis" : ValidatorCache . get_validator ( "layout" , "yaxis" ) ,
52+ "coloraxis" : ColoraxisValidator ,
53+ "geo" : GeoValidator ,
54+ "legend" : LegendValidator ,
55+ "map" : MapValidator ,
56+ "mapbox" : MapboxValidator ,
57+ "polar" : PolarValidator ,
58+ "scene" : SceneValidator ,
59+ "smith" : SmithValidator ,
60+ "ternary" : TernaryValidator ,
61+ "xaxis" : XaxisValidator ,
62+ "yaxis" : YaxisValidator ,
6563 }
66- # "geo": GeoValidator,
67- # "legend": LegendValidator,
68- # "map": MapValidator,
69- # "mapbox": MapboxValidator,
70- # "polar": PolarValidator,
71- # "scene": SceneValidator,
72- # "smith": SmithValidator,
73- # "ternary": TernaryValidator,
74- # "xaxis": XaxisValidator,
75- # "yaxis": YaxisValidator,
76- # }
7764
7865 def _subplot_re_match (self , prop ):
7966 return self ._subplotid_prop_re .match (prop )
0 commit comments