Separate dependencies and lightweight test env for Python

This commit is contained in:
terrytangyuan
2016-02-28 20:09:09 -06:00
parent 5f70b4df7a
commit 803a6fe474
11 changed files with 301 additions and 286 deletions

View File

@@ -42,7 +42,7 @@ def plot_importance(booster, ax=None, height=0.2,
-------
ax : matplotlib Axes
"""
# TODO: move this to compat.py
try:
import matplotlib.pyplot as plt
except ImportError: