# Basic Scatter
(data)
| 138 | |
| 139 | @_print_source |
| 140 | def _scatter_example_1(data): |
| 141 | """# Basic Scatter""" |
| 142 | # Plot the data |
| 143 | ch = chartify.Chart(blank_labels=True, x_axis_type="datetime") |
| 144 | ch.plot.scatter(data_frame=data, x_column="date", y_column="unit_price") |
| 145 | ch.set_title("Scatterplot") |
| 146 | ch.set_subtitle("Plot two numeric values.") |
| 147 | ch.show(_OUTPUT_FORMAT) |
| 148 | |
| 149 | |
| 150 | @_print_source |
no test coverage detected