MCPcopy Index your code
hub / github.com/bqplot/bqplot / label

Function label

bqplot/pyplot.py:956–974  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

954
955
956def 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
977def geo(map_data, **kwargs):

Callers

nothing calls this directly

Calls 1

_draw_markFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…