(self, invalid_els)
| 324 | ) |
| 325 | |
| 326 | def raise_invalid_elements(self, invalid_els): |
| 327 | if invalid_els: |
| 328 | raise ValueError( |
| 329 | """ |
| 330 | Invalid element(s) received for the '{name}' property of {pname} |
| 331 | Invalid elements include: {invalid} |
| 332 | |
| 333 | {valid_clr_desc}""".format( |
| 334 | name=self.plotly_name, |
| 335 | pname=self.parent_name, |
| 336 | invalid=invalid_els[:10], |
| 337 | valid_clr_desc=self.description(), |
| 338 | ) |
| 339 | ) |
| 340 | |
| 341 | def validate_coerce(self, v): |
| 342 | """ |
no test coverage detected