Skip to content

builders

Build chart specs from the inputs of the public plot functions.

Each builder takes what the corresponding function in visualisation.plot / visualisation.missing receives: value counts as dict (most frequent first), matrices as square polars.DataFrames and time series as frames with index and value columns. Comparison reports pass a list of each.

Classes

Functions:

comparison_colors(config)

Same semantics as plot.create_comparison_color_list.

word_frequency(config, word_counts, top=20)

Top-word frequency bars (drawn when the wordcloud package is missing).

word_cloud(config, word_counts, max_words=100)

Word cloud drawn as SVG text; one panel per compared report.

missing_matrix(config, notnull, columns, nrows)

Missing-values matrix.

Args: notnull: (bands, columns) shares of present values, one row per band of consecutive rows (computed lazily by the model). columns: column names. nrows: number of rows of the frame.