-
Notifications
You must be signed in to change notification settings - Fork 24
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
scipy.misc.electrocardiogram
has been deprecated
#166
Comments
I have already addressed this in the tests, but AFAIK the only way to do so is pretty ugly: try:
from scipy.datasets import electrocardiogram
except ImportError:
from scipy.misc import electrocardiogram Which I think would be distracting in the examples. But then again, the |
One possible solution could be to wrap this example dataset into our own object (e.g. in |
Hmm, you could keep this issue open and update the dependency and documentation later? Either that or just bump the scipy dependency to 1.10.0 now and get it out of the way! |
Let's keep it open then. I'd like to wait until SciPy 1.11 or 1.12 before I bump it to 1.10. People don't always have access to the latest package versions immediately. |
If we take these support windows defined by the Scientific Python project, we can drop support for SciPy < 1.10 on 28 Jul 2024. |
This is a quick issue relating to the JOSS review comments at: openjournals/joss-reviews#5411 (comment)
The example code at https://sleepecg.readthedocs.io/en/stable/heartbeat_detection/#usage (and elsewhere) uses
scipy.misc.electrocardiogram
which has been deprecated.At some point the examples should be updated to use the new location: (
scipy.datasets.electrocardiogram
).The text was updated successfully, but these errors were encountered: