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)
| 884 | |
| 885 | @_process_data() |
| 886 | def 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') |
nothing calls this directly
no test coverage detected
searching dependent graphs…