tsproto.plots

Functions

display_breakpoints(signal, true_chg_pts[, ...])

Display a signal and the change points provided in alternating colors.

embed_histograms_in_dot(decision_tree, ...)

Embed histograms in DOT format for each internal node.

export_decision_tree_with_embedded_histograms(...)

Export a Decision Tree classifier to a DOT file with embedded histograms at each node.

get_node_histogram_svg_filenames(...[, ...])

Save SVG representations of histograms for a given internal node.

plot_and_save_barplot(target, filename[, ...])

Plots a bar plot of the number of instances per class with percentage annotations and saves it to a file.

plot_barycenter_with_histogram(X_train, ...)

Plots the barycenter of time series along with histograms of specified statistics in the specified cluster.

plot_histogram(ax, dataset, xbis, xbis_shap, ...)

Plot a histogram colored by the values of the target.

plot_smooth_colored_line(x_values, y_values, ...)

save_histogram_svg(dataset, xbis, xbis_shap, ...)

Save the histogram plot as an SVG file.