Draws a horizontal bar chart in the current context figure. Parameters ---------- x: numpy.ndarray, 1d The domain of the data points. y: numpy.ndarray, 1d The range of the data pints. options: dict (default: {}) Options for the scales to be created. If a
(*args, **kwargs)
| 910 | |
| 911 | @_process_data('color') |
| 912 | def barh(*args, **kwargs): |
| 913 | """Draws a horizontal bar chart in the current context figure. |
| 914 | |
| 915 | Parameters |
| 916 | ---------- |
| 917 | |
| 918 | x: numpy.ndarray, 1d |
| 919 | The domain of the data points. |
| 920 | y: numpy.ndarray, 1d |
| 921 | The range of the data pints. |
| 922 | options: dict (default: {}) |
| 923 | Options for the scales to be created. If a scale labeled 'x' is |
| 924 | required for that mark, options['x'] contains optional keyword |
| 925 | arguments for the constructor of the corresponding scale type. |
| 926 | axes_options: dict (default: {}) |
| 927 | Options for the axes to be created. If an axis labeled 'x' is required |
| 928 | for that mark, axes_options['x'] contains optional keyword arguments |
| 929 | for the constructor of the corresponding axis type. |
| 930 | """ |
| 931 | kwargs['orientation'] = "horizontal" |
| 932 | return bar(*args, **kwargs) |
| 933 | |
| 934 | |
| 935 | @_process_data('color') |
nothing calls this directly
no test coverage detected
searching dependent graphs…