Skip to content

Commit

Permalink
use TkAgg (hopeful fix for linux Qt warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Feb 19, 2021
1 parent 9acd772 commit 4fb0725
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion niclassify/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
from .core.StandardProgram import StandardProgram
from .core.classifiers import RandomForestAC
from .tkgui.clftool import ClassifierTool
matplotlib.use('Agg') # this makes threading not break
matplotlib.use('TkAgg') # this makes threading not break


def main():
"""Run the GUI."""
Expand Down

0 comments on commit 4fb0725

Please sign in to comment.