Skip to content

Commit

Permalink
Merge pull request #65 from DittmarLab/2.0b2
Browse files Browse the repository at this point in the history
matplotlib agg backend switch
  • Loading branch information
qiyunzhu authored Dec 27, 2020
2 parents 329193c + 20b5cf2 commit 438c2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hgtector/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
from sklearn.model_selection import GridSearchCV
from sklearn.metrics import silhouette_samples

import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt

from hgtector.util import (
Expand All @@ -35,6 +33,8 @@
taxid_at_rank, get_descendants, save_figure)


plt.switch_backend('agg')

description = """predict HGT events based on search results"""

arguments = [
Expand Down

0 comments on commit 438c2a8

Please sign in to comment.