# Horizontal histogram
(data)
| 892 | |
| 893 | @_print_source |
| 894 | def _histogram_example2(data): |
| 895 | """# Horizontal histogram""" |
| 896 | ch = chartify.Chart(blank_labels=True, x_axis_type="density") |
| 897 | ch.set_title("Horizontal histogram with grouping") |
| 898 | ch.set_subtitle("") |
| 899 | ch.plot.histogram(data_frame=data, values_column="unit_price", color_column="fruit") |
| 900 | ch.show(_OUTPUT_FORMAT) |
| 901 | |
| 902 | |
| 903 | plot_histogram.__doc__ = _core.plot.PlotNumericDensityXY.histogram.__doc__ |
no test coverage detected