Reference

Logo(weights, chars; positions=1:size(weights, 2), kwargs...)

Create a logomaker.Logo object from a Julia matrix.

weights must have one row per character in chars, and one column per position. The keyword argument positions sets the DataFrame index used by Python Logomaker (x-axis positions). Additional keyword arguments are passed to logomaker.Logo.

source
Logomaker.style_spines!Function
style_spines!(logo; spines=["top", "bottom", "left", "right"], visible=true, color="black", linewidth=1.0, bounds=nothing)

Style axis spines on a logomaker.Logo object.

This is a Julia wrapper around logo.style_spines(...).

source
Logomaker.style_xticks!Function
style_xticks!(logo; anchor=0, spacing=1, fmt="%d", rotation=0.0)

Style x-axis ticks on a logomaker.Logo object.

This is a Julia wrapper around logo.style_xticks(...).

source
Logomaker.color_schemeFunction
color_scheme(pairs...)

Build a Python dictionary for the color_scheme keyword accepted by Logo. Pass character-to-color pairs like 'A' => "blue".

source