Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive scalar_global_heatmap, query error if inc value set too small. #11

Open
colm-brandon-ul opened this issue Aug 29, 2024 · 0 comments

Comments

@colm-brandon-ul
Copy link

How the querying interaction works for scalar_global_heatmap (i.e. click on a patch in the heatmap and see the exp_hist for that step/layer/tensor type), it gets the query parameters from the axis tick labels.

However if the value for inc is set too small and matplotlib hides some tick markers (i.e. only displays major tick labels) this breaks the querying process. It can result in an out of range error or the wrong parameters being inserted into the query.

viz.interactive(
    f= viz.scalar_global_heatmap,
    df=df,
    tt='Activation',
    col_wrap = 3,
    scalar_metric='rm2',
    inc=50
)

Perhaps need to redesign how this occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant