MCPcopy Index your code
hub / github.com/spotify/chartify / _scatter_example_1

Function _scatter_example_1

chartify/examples.py:140–147  ·  view source on GitHub ↗

# Basic Scatter

(data)

Source from the content-addressed store, hash-verified

138
139@_print_source
140def _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

Callers 1

plot_scatterFunction · 0.85

Calls 4

set_titleMethod · 0.95
set_subtitleMethod · 0.95
showMethod · 0.95
scatterMethod · 0.45

Tested by

no test coverage detected