Skip to content

Commit

Permalink
added explicit call to matplotlib 'Agg' backend in order to avoid seg…
Browse files Browse the repository at this point in the history
…mentation fault
  • Loading branch information
maartenmennes committed May 1, 2018
1 parent 7b00066 commit f04c7c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classification_plots.py
Expand Up @@ -5,9 +5,11 @@ def classification_plot(myinput, outDir):

import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
from matplotlib import gridspec
import seaborn as sns
import glob
import os

Expand Down

0 comments on commit f04c7c9

Please sign in to comment.