KChen89 / Heartbeat-Classification-based-Diagnosis

Heartbeat classification and labeling
6 stars 3 forks source link

Image view #1

Closed jose4n closed 6 years ago

jose4n commented 6 years ago

Hi, After run this : python3 hb_classifier.py ecg.dat just says Time cost: 0.3077363967895508 Is there any way to se the result like demo screenshots?

KChen89 commented 6 years ago

The screenshot is produced by running the code on my computer (Lubuntu 14.04 LTS). Also check if ​code for plotting is executed (figures created at plt.show()) and your backend following the link https://stackoverflow.com/questions/14558843/why-matplotlib-does-not-plot. Good luck, K.C.

jose4n notifications@github.com 于 2018年5月19日 周六 11:15写道:

Hi, After run this : python3 hb_classifier.py ecg.dat just says Time cost: 0.3077363967895508 Is there any way to se the result like demo screenshots?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KChen89/Heartbeat-Classification-based-Diagnosis/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ASw9Un_hcFKNpnZRq6OkDYJ2K3JkzFEnks5t0GFZgaJpZM4UFzZk .

jose4n commented 6 years ago

Thanks!! I just replaced plt.show() by plt.savefig('name.png') and worked perfectly.