temporalmapper.plotting

Functions

centroid_datamap(mapper[, ax, edge_labels, ...])

Plot the temporal graph in 2d with vertices at their cluster centroids.

compute_node_size(mapper, G, node_scaling, ...)

export_to_javascript(path, mapper)

write the javascript file for Roberta's edge bundling code.

generate_keyword_labels(word_bags, mapper[, ...])

Using a bag of words corresponding to each data point, get top n_words informative keywords for each cluster

growth_map(mapper[, index])

Compute a stock-market style treemap of relative growth of topics.

hex_desaturate(c, pc)

Desaturate c by pc%

plot_text_labels(axis, vertices, ...)

prepare_plotly_graph_objects(mapper, positions)

slice_df(mapper, idx)

sliceograph(mapper[, clrs, alpha])

Visualize all the slices in the kerneled cover of a TemporalMapper, requires Plotly.

squarify_text(text)

Make a string more square by adding newlines

time_semantic_plot(mapper, semantic_axis[, ...])

Create a time-semantic plot of the mapper graph.

view_gomic(mapper[, ax, clrs])

Visualize the gomic of the Mapper object

write_edge_bundling_datashader(mapper, pos)

Use datashader to bundle edges from connected components together.