das.utils_plotΒΆ

Plot utilities.

Functions

annotate_events(event_seconds[, ...])

Plot events as vertical lines to plot.

annotate_segments(onset_seconds, offset_seconds)

Plot segments as vertical lines to plot.

bar_text([ax, spacing, to_int])

Add labels to the end of each bar in a bar chart.

despine([which, axis])

downsample_plot(x, y[, ds])

Reduces complexity of exported pdfs w/o impairing visual appearance.

generate_colors([nb_colors, start_color, ...])

[summary]

imshow_text(data[, labels, ax, color_high, ...])

Text labels for individual cells of an imshow plot

label_axes([fig, labels, loc])

Walks through axes and labels each.

remove_axes([axis, all, which])

Remove top & left border around plot or all axes & ticks.

scalebar(length[, dx, units, label, axis, ...])

Add scalebar to axis.

tablelegend(ax[, col_labels, row_labels, ...])

Place a table legend on the axes.

Classes

Pdf(savename[, autosave, style])

Thin wrapper around Autosaving variant