Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text" flag a
(self)
| 961 | |
| 962 | @property |
| 963 | def text(self): |
| 964 | """ |
| 965 | Sets text elements associated with each (x,y) pair. If a single |
| 966 | string, the same string appears over all the data points. If an |
| 967 | array of string, the items are mapped in order to the this |
| 968 | trace's (x,y) coordinates. If trace `hoverinfo` contains a |
| 969 | "text" flag and "hovertext" is not set, these elements will be |
| 970 | seen in the hover labels. |
| 971 | |
| 972 | The 'text' property is a string and must be specified as: |
| 973 | - A string |
| 974 | - A number that will be converted to a string |
| 975 | - A tuple, list, or one-dimensional numpy array of the above |
| 976 | |
| 977 | Returns |
| 978 | ------- |
| 979 | str|numpy.ndarray |
| 980 | """ |
| 981 | return self["text"] |
| 982 | |
| 983 | @text.setter |
| 984 | def text(self, val): |
no outgoing calls