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

Affinity matrix visualisation fails with matplotlib 3.9.0 #312

Open
jolaem opened this issue Jun 5, 2024 · 0 comments · May be fixed by #313
Open

Affinity matrix visualisation fails with matplotlib 3.9.0 #312

jolaem opened this issue Jun 5, 2024 · 0 comments · May be fixed by #313
Assignees
Labels
bug Something isn't working

Comments

@jolaem
Copy link
Collaborator

jolaem commented Jun 5, 2024

Failing with following error:

  File "/home/sxy26921/myruns/czi/01/../../../mygit/affinity-vae/run.py", line 693, in run
    run_pipeline(data)
  File "/home/sxy26921/myruns/czi/01/../../../mygit/affinity-vae/run.py", line 702, in run_pipeline
    train(
  File "/home/sxy26921/mygit/affinity-vae/avae/train.py", line 197, in train
    trains, vals, tests, affinity_matrix, data_dim = load_data(
  File "/home/sxy26921/mygit/affinity-vae/avae/data.py", line 169, in load_data
    affinity = get_affinity_matrix(affinity_path, classes_list)
  File "/home/sxy26921/mygit/affinity-vae/avae/data.py", line 282, in get_affinity_matrix
    plot_affinity_matrix(
  File "/home/sxy26921/mygit/affinity-vae/avae/vis.py", line 1890, in plot_affinity_matrix
    im = ax.imshow(lookup, vmin=-1, vmax=1, cmap=plt.cm.get_cmap("RdBu"))
AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap'
@jolaem jolaem added the bug Something isn't working label Jun 5, 2024
@jolaem jolaem self-assigned this Jun 5, 2024
@jolaem jolaem linked a pull request Jun 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant