Draws a Label in the current context figure. Parameters ---------- text: string The label to be displayed. options: dict (default: {}) Options for the scales to be created. If a scale labeled 'x' is required for that mark, options['x'] contains optional keyw
(text, **kwargs)
| 954 | |
| 955 | |
| 956 | def label(text, **kwargs): |
| 957 | """Draws a Label in the current context figure. |
| 958 | |
| 959 | Parameters |
| 960 | ---------- |
| 961 | |
| 962 | text: string |
| 963 | The label to be displayed. |
| 964 | options: dict (default: {}) |
| 965 | Options for the scales to be created. If a scale labeled 'x' is |
| 966 | required for that mark, options['x'] contains optional keyword |
| 967 | arguments for the constructor of the corresponding scale type. |
| 968 | axes_options: dict (default: {}) |
| 969 | Options for the axes to be created. If an axis labeled 'x' is required |
| 970 | for that mark, axes_options['x'] contains optional keyword arguments |
| 971 | for the constructor of the corresponding axis type. |
| 972 | """ |
| 973 | kwargs['text'] = text |
| 974 | return _draw_mark(Label, **kwargs) |
| 975 | |
| 976 | |
| 977 | def geo(map_data, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…