diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index c4946e57d8..0000000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,43 +0,0 @@ -engines: - pep8: - enabled: true - checks: - E501: - enabled: false - E203: - enabled: false - E302: - enabled: false - E303: - enabled: false - -checks: - argument-count: - enabled: false - complex-logic: - enabled: false - file-lines: - enabled: false - method-complexity: - enabled: false - method-count: - enabled: false - method-lines: - enabled: false - nested-control-flow: - enabled: true - return-statements: - enabled: true - similar-code: - enabled: false - identical-code: - enabled: false - -exclude_patterns: - - "tests/" - - "scripts/" - - "benchmarks/" - - "studies/" - - "data/" - - "docs/img/" - - "docs/readme/" diff --git a/neurokit2/epochs/epochs_plot.py b/neurokit2/epochs/epochs_plot.py index 2fb45e0e63..4876909c0e 100644 --- a/neurokit2/epochs/epochs_plot.py +++ b/neurokit2/epochs/epochs_plot.py @@ -36,10 +36,10 @@ def epochs_plot(epochs, legend=True, columns="all", **kwargs): events = nk.events_find(data["Photosensor"], threshold_keep='below', event_conditions=["Negative", "Neutral", "Neutral", "Negative"]) - epochs = nk.epochs_create(data, events, sampling_rate=100, epochs_end=1) + epochs = nk.epochs_create(data, events, sampling_rate=100, epochs_end=7) @savefig p_epochs_plot1.png scale=100% - nk.epochs_plot(epochs) + nk.epochs_plot(epochs, columns=["EDA", "RSP"]) @suppress plt.close()