| 7 | |
| 8 | |
| 9 | class Template(_BaseLayoutHierarchyType): |
| 10 | _parent_path_str = "layout" |
| 11 | _path_str = "layout.template" |
| 12 | _valid_props = {"data", "layout"} |
| 13 | |
| 14 | @property |
| 15 | def data(self): |
| 16 | """ |
| 17 | The 'data' property is an instance of Data |
| 18 | that may be specified as: |
| 19 | - An instance of :class:`plotly.graph_objs.layout.template.Data` |
| 20 | - A dict of string/value properties that will be passed |
| 21 | to the Data constructor |
| 22 | |
| 23 | Returns |
| 24 | ------- |
| 25 | plotly.graph_objs.layout.template.Data |
| 26 | """ |
| 27 | return self["data"] |
| 28 | |
| 29 | @data.setter |
| 30 | def data(self, val): |
| 31 | self["data"] = val |
| 32 | |
| 33 | @property |
| 34 | def layout(self): |
| 35 | """ |
| 36 | The 'layout' property is an instance of Layout |
| 37 | that may be specified as: |
| 38 | - An instance of :class:`plotly.graph_objs.Layout` |
| 39 | - A dict of string/value properties that will be passed |
| 40 | to the Layout constructor |
| 41 | |
| 42 | Returns |
| 43 | ------- |
| 44 | plotly.graph_objs.layout.template.Layout |
| 45 | """ |
| 46 | return self["layout"] |
| 47 | |
| 48 | @layout.setter |
| 49 | def layout(self, val): |
| 50 | self["layout"] = val |
| 51 | |
| 52 | @property |
| 53 | def _prop_descriptions(self): |
| 54 | return """\ |
| 55 | data |
| 56 | :class:`plotly.graph_objects.layout.template.Data` |
| 57 | instance or dict with compatible properties |
| 58 | layout |
| 59 | :class:`plotly.graph_objects.Layout` instance or dict |
| 60 | with compatible properties |
| 61 | """ |
| 62 | |
| 63 | def __init__(self, arg=None, data=None, layout=None, **kwargs): |
| 64 | """ |
| 65 | Construct a new Template object |
| 66 |
no outgoing calls
no test coverage detected