Docstring
(data)
| 1234 | |
| 1235 | @_print_source |
| 1236 | def _categorical_example_2(data): |
| 1237 | """Docstring""" |
| 1238 | # Plot the data |
| 1239 | ch = chartify.Chart(blank_labels=True) |
| 1240 | ch.style.set_color_palette( |
| 1241 | palette_type="categorical", |
| 1242 | ) |
| 1243 | ch.plot.scatter(data_frame=data, x_column="x", y_column="y", color_column="country") |
| 1244 | ch.set_title("Pass 'palette' parameter to .set_color_palette() to change palette colors.") |
| 1245 | ch.set_subtitle("") |
| 1246 | ch.show(_OUTPUT_FORMAT) |
| 1247 | |
| 1248 | |
| 1249 | @_print_source |
no test coverage detected