MCPcopy Create free account
hub / github.com/spotify/chartify / _kde_example

Function _kde_example

chartify/examples.py:923–929  ·  view source on GitHub ↗

# Parallel with datetime x axis

(data)

Source from the content-addressed store, hash-verified

921
922@_print_source
923def _kde_example(data):
924 """# Parallel with datetime x axis"""
925 # Plot the data
926 ch = chartify.Chart(blank_labels=True, y_axis_type="density")
927 ch.set_title("KDE plot")
928 ch.plot.kde(data_frame=data, values_column="unit_price", color_column="fruit")
929 ch.show(_OUTPUT_FORMAT)
930
931
932@_print_source

Callers 1

plot_kdeFunction · 0.85

Calls 3

set_titleMethod · 0.95
showMethod · 0.95
kdeMethod · 0.80

Tested by

no test coverage detected