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] #682

Closed
ScarletVV opened this issue Oct 8, 2023 · 0 comments · Fixed by #692
Closed

[BUG] #682

ScarletVV opened this issue Oct 8, 2023 · 0 comments · Fixed by #692
Labels
bug Something isn't working

Comments

@ScarletVV
Copy link

Describe the bug

TypeError thrown when calling Scaler form gtda.diagrams

To reproduce

When I ran MNIST_ The eighth code block of classificaion.ipynb:

from gtda.diagrams import Scaler
scaler = Scaler()
im8_scaled = scaler.fit_transform(im8_cubical)
scaler.plot(im8_scaled)

Error prompt appeared:
TypeError: Parameter function is of type <class 'numpy._ArrayFunctionDispatcher'> while it should be of type (<class 'function'>, <class 'NoneType'>).

Expected behavior

Actual behaviour

Versions

Additional context

@ScarletVV ScarletVV added the bug Something isn't working label Oct 8, 2023
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