Skip to content

Commit

Permalink
Merge pull request #38 from maxplanck-ie/plotting_fixes
Browse files Browse the repository at this point in the history
Fix plotting on HPC
  • Loading branch information
bgruening committed Oct 9, 2016
2 parents e30c4c1 + bf57094 commit c4a59a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hicexplorer/hicCorrelate.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@

# for plotting
from matplotlib import use as mplt_use
mplt_use('Agg')

import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
from matplotlib.ticker import FixedLocator
mplt_use('Agg')


def parse_arguments(args=None):
Expand Down
2 changes: 2 additions & 0 deletions hicexplorer/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import scipy.stats
import scipy.sparse
import argparse
from matplotlib import use as mplt_use
mplt_use('Agg')

from hicexplorer.HiCMatrix import hiCMatrix

Expand Down

0 comments on commit c4a59a3

Please sign in to comment.