# Scatter with size
(data)
| 149 | |
| 150 | @_print_source |
| 151 | def _scatter_example_2(data): |
| 152 | """# Scatter with size""" |
| 153 | # Plot the data |
| 154 | ch = chartify.Chart(blank_labels=True, x_axis_type="datetime") |
| 155 | ch.plot.scatter(data_frame=data, x_column="date", y_column="unit_price", size_column="quantity") |
| 156 | ch.set_title("Scatterplot") |
| 157 | ch.set_subtitle("Optional 'size_column' argument for changing scatter size.") |
| 158 | ch.show(_OUTPUT_FORMAT) |
| 159 | |
| 160 | |
| 161 | @_print_source |
no test coverage detected