Skip to content

Commit

Permalink
Merge pull request #178 from data-8/more-linux-fixes
Browse files Browse the repository at this point in the history
Set matplotlib backend so that it works when there's no display
  • Loading branch information
SamLau95 committed Jan 18, 2016
2 parents 1072635 + 55ed8fd commit f7c11b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datascience/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import urllib.parse

import numpy as np
import matplotlib
matplotlib.use('agg', warn=False)
import matplotlib.pyplot as plt
import pandas
import IPython
Expand Down
2 changes: 2 additions & 0 deletions datascience/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import numpy as np
import pandas as pd
import matplotlib
matplotlib.use('agg', warn=False)
import matplotlib.pyplot as plt
from scipy import stats

Expand Down

0 comments on commit f7c11b5

Please sign in to comment.