pitchscapes.plotting

Functions

compare_key_profiles(empirical[, ...])

counts_to_colors(counts[, key_estimator])

get_circle_of_fifths()

get_key_colour(tonic_pitch, maj_min[, ...])

key_legend([ax, sharp_flat, location, ...])

key_scape_plot([scape, n_samples, samples, ...])

key_scores_to_color(scores[, ...])

Transform score values from a key finder into colors :type scores: :param scores: :type soft_max_temperature: :param soft_max_temperature: :type alpha_remapping: :param alpha_remapping: :return:

minor_shift([circle_of_fifths])

pitch_scape_plots([scape, n_samples, ...])

plot_assignment(assignments, ax[, ...])

plot_cluster_assignments(assignments[, ...])

plot_loss(loss[, ax])

Plot the loss for batch optimisation :type loss: :param loss: nested list with loss for each batch per epoch :type ax: :param ax: axis to plot to or None (default) to create new figure :return: figure and axis

plot_piece_assignments(assignments[, ...])

samples_to_key(samples[, circle_of_fifths, ...])

scape_plot(samples, coords, ax[, xlim, ...])

scape_plot_from_array(arr[, ax, times, ...])

Generate a scape plot from a numpy array of values or colours.

set_axis_off(ax)

set_circle_of_fifths(value)