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

[Bug]: - Tabular plot does not support numpy 1.26.3 #159

Open
AntoninPoche opened this issue Mar 20, 2024 · 0 comments
Open

[Bug]: - Tabular plot does not support numpy 1.26.3 #159

AntoninPoche opened this issue Mar 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AntoninPoche
Copy link
Collaborator

Module

Attributions Methods

Current Behavior

When calling the tabular plot function for attributions with numpy version 1.2.6, an error is raised while it it not the case for earlier versions of numpy.

Expected Behavior

The library should support the latest versions of numpy.

Version

1.3.3

Environment

- numpy 1.26.3

Relevant log output

At `xplique.plots.tabular.py` line 49: `colorbar = plt.colorbar(mappa, ticks=[0, 1])`.

The following error is raised:
`ValueError: Unable to determine Axes to steal space for Colorbar. Either provide the *cax* argument to use the Axes for the Colorbar, provide the *ax* argument to steal space from it or add *mappable* to an Axes`.

To Reproduce

Launch the plot function with latest version of numpy.

@AntoninPoche AntoninPoche added the bug Something isn't working label Mar 20, 2024
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

No branches or pull requests

1 participant