Skip to content

Commit

Permalink
Merge pull request #131 from neptune-ai/fix/fix-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
shnela authored Oct 6, 2021
2 parents 755f975 + 15a4f66 commit d21abb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neptunecontrib/monitoring/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _log_importance(booster, max_num_features, npt, **kwargs):
import matplotlib.pyplot as plt
except ImportError:
raise ImportError('Please install matplotlib to log importance')
importance = xgb.plot_importance(booster, max_num_features=max_num_features, **kwargs) # pylint: disable=E1101
importance = xgb.plot_importance(booster, max_num_features=max_num_features, **kwargs) # pylint: disable=E1101
npt.log_image('feature_importance', importance.figure)
plt.close('all')

Expand Down
2 changes: 1 addition & 1 deletion neptunecontrib/versioning/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _md5_hash_dir(dirpath):

def _md5_hash_bucket(bucket_name, path):
s3 = boto3.resource('s3')
bucket = s3.Bucket(bucket_name)
bucket = s3.Bucket(bucket_name) # pylint: disable=E1101

hash_md5 = hashlib.md5()

Expand Down

0 comments on commit d21abb9

Please sign in to comment.