# Histogram
(data)
| 881 | |
| 882 | @_print_source |
| 883 | def _histogram_example(data): |
| 884 | """# Histogram""" |
| 885 | # Plot the data |
| 886 | ch = chartify.Chart(blank_labels=True, y_axis_type="density") |
| 887 | ch.set_title("Histogram") |
| 888 | ch.set_subtitle("") |
| 889 | ch.plot.histogram(data_frame=data, values_column="unit_price", bins=50) |
| 890 | ch.show(_OUTPUT_FORMAT) |
| 891 | |
| 892 | |
| 893 | @_print_source |
no test coverage detected