Skip to content

Commit

Permalink
fix plot instantly close (NeuroTechX#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
danidask authored Apr 17, 2022
1 parent 5312214 commit d4305c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/plot_cross_subject_ssvep.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@
sns.pointplot(data=results, y="score", x="pipeline", ax=ax, zorder=1, palette="Set1")
ax.set_ylabel("Accuracy")
ax.set_ylim(0.1, 0.6)
fig.show()
plt.show()
2 changes: 1 addition & 1 deletion examples/plot_within_session_p300.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ def transform(self, X):
ax.set_ylabel("ROC AUC")
ax.set_ylim(0.5, 1)

fig.show()
plt.show()
2 changes: 1 addition & 1 deletion tutorials/tutorial_1_simple_example_motor_imagery.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@
sns.barplot(
x="score", y="subj", hue="session", data=results, orient="h", palette="viridis", ax=ax
)
fig.show()
plt.show()

0 comments on commit d4305c4

Please sign in to comment.