File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,11 @@ class {datatype_class}(_{node.name_base_datatype}):\n"""
130130"""
131131 )
132132
133- subplot_validator_names = [n .name_validator_class for n in subplot_nodes ]
134-
135- validator_csv = ", " .join (subplot_validator_names )
136133 subplot_dict_str = (
137134 "{"
138135 + ", " .join (
139- f"' { subname } ': { valname } "
140- for subname , valname in zip ( subplot_names , subplot_validator_names )
136+ f"\" { subname } \" : ValidatorCache.get_validator( \" layout \" , \" { subname } \" ) "
137+ for subname in subplot_names
141138 )
142139 + "}"
143140 )
@@ -153,7 +150,7 @@ def _subplotid_validators(self):
153150 -------
154151 dict
155152 \" \" \"
156- from plotly.validators.layout import ( { validator_csv } )
153+ from plotly.validator_cache import ValidatorCache
157154
158155 return { subplot_dict_str }
159156
You can’t perform that action at this time.
0 commit comments