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

Function boxplot

bqplot/pyplot.py:886–908  ·  view source on GitHub ↗

Draws a boxplot in the current context figure. Parameters ---------- x: numpy.ndarray, 1d The x-coordinates of the data points. y: numpy.ndarray, 2d The data from which the boxes are to be created. Each row of the data corresponds to one box drawn in the plo

(x, y, **kwargs)

Source from the content-addressed store, hash-verified

884
885@_process_data()
886def boxplot(x, y, **kwargs):
887 """Draws a boxplot in the current context figure.
888
889 Parameters
890 ----------
891
892 x: numpy.ndarray, 1d
893 The x-coordinates of the data points.
894 y: numpy.ndarray, 2d
895 The data from which the boxes are to be created. Each row of the data
896 corresponds to one box drawn in the plot.
897 options: dict (default: {})
898 Options for the scales to be created. If a scale labeled 'x' is
899 required for that mark, options['x'] contains optional keyword
900 arguments for the constructor of the corresponding scale type.
901 axes_options: dict (default: {})
902 Options for the axes to be created. If an axis labeled 'x' is required
903 for that mark, axes_options['x'] contains optional keyword arguments
904 for the constructor of the corresponding axis type.
905 """
906 kwargs['x'] = x
907 kwargs['y'] = y
908 return _draw_mark(Boxplot, **kwargs)
909
910
911@_process_data('color')

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…