hydrocode-de / RUINSapp

https://hydrocode-de.github.io/RUINSapp
MIT License
1 stars 1 forks source link

Fix kde warning #97

Closed AlexDo1 closed 2 years ago

AlexDo1 commented 2 years ago

This PR fixes the Future Warning in the kde() function:

/src/ruins/plotting/kde.py:16: FutureWarning:
Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version.  Convert to a numpy array before indexing instead.

I also already checked that the results of the KDE fit remain unchanged.

Closes #49