Skip to content

Possible bug in plotting functions in analysis.py #246

@xun468

Description

@xun468

Hi!

I was doing some work with plotting and noticed a possible bug in plot_transition_graph_group and visualize_transition_bigram in analysis.py. Both methods indicate that you select groups by name, however lines

trans_mats[i][:max_syllables, :max_syllables],

and
G = nx.from_numpy_array(trans_mats[i] * 100)
indicate that you grab the first i-th transition matrices in the transition matrix list, which may not necessarily be the ones selected.

Just wanted to point this out in case it's a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions