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"""
130
130
"""
131
131
)
132
132
133
- subplot_validator_names = [n .name_validator_class for n in subplot_nodes ]
134
-
135
- validator_csv = ", " .join (subplot_validator_names )
136
133
subplot_dict_str = (
137
134
"{"
138
135
+ ", " .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
141
138
)
142
139
+ "}"
143
140
)
@@ -153,7 +150,7 @@ def _subplotid_validators(self):
153
150
-------
154
151
dict
155
152
\" \" \"
156
- from plotly.validators.layout import ( { validator_csv } )
153
+ from plotly.validator_cache import ValidatorCache
157
154
158
155
return { subplot_dict_str }
159
156
You can’t perform that action at this time.
0 commit comments