Skip to content

Commit 9ec959b

Browse files
authored
Fix tkinter (#49)
* Remove inter_plotting loading at beginning of files * Delete acc.png
1 parent 81ca438 commit 9ec959b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

biosppy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
# allow lazy loading
1919
from .signals import acc, abp, bvp, ppg, pcg, ecg, eda, eeg, emg, resp, tools, hrv
2020
from .synthesizers import ecg, emg
21-
from .inter_plotting import ecg, acc
21+
# from .inter_plotting import ecg, acc
2222
from .features import frequency, time, time_freq, cepstral, phase_space

biosppy/signals/acc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
# local
2727
from .. import plotting, utils
28-
from biosppy.inter_plotting import acc as inter_plotting
2928

3029

3130
def acc(signal=None, sampling_rate=100.0, units=None, path=None, show=True, interactive=False):
@@ -88,6 +87,7 @@ def acc(signal=None, sampling_rate=100.0, units=None, path=None, show=True, inte
8887
# plot
8988
if show:
9089
if interactive:
90+
from biosppy.inter_plotting import acc as inter_plotting
9191
inter_plotting.plot_acc(
9292
ts=ts, # plotting.plot_acc
9393
raw=signal,

biosppy/signals/ecg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
# local
2727
from . import tools as st
2828
from .. import plotting, utils
29-
from biosppy.inter_plotting import ecg as inter_plotting
3029
from scipy.signal import argrelextrema
3130

3231

@@ -123,6 +122,7 @@ def ecg(signal=None, sampling_rate=1000.0, units=None, path=None, show=True, int
123122
# plot
124123
if show:
125124
if interactive:
125+
from biosppy.inter_plotting import ecg as inter_plotting
126126
inter_plotting.plot_ecg(
127127
ts=ts,
128128
raw=signal,

0 commit comments

Comments
 (0)