viz

nomad.visit_attribution.viz.plot_od_map(od_df, region_gdf=None, points_gdf=None, background_gdf=None, origin_col='origin', dest_col='destination', weight_col='weight', id_col=None, w_min=0.05, edge_alpha=0.4, edge_color='red', edge_cmap=None, fill_cmap='Reds')[source]

Generates an origin-destination map using PyDeck with optional layers.

nomad.visit_attribution.viz.to_rgba(val, alpha=1.0)[source]

Converts a color to an RGBA list [0-255], applying a specific alpha.