Skip to content

Commit

Permalink
Changed to private method
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddhantSadangi committed Apr 3, 2024
1 parent 36af5ef commit 99bcfa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neptune_sklearn/impl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def create_prediction_error_chart(regressor, X_train, X_test, y_train, y_test):
return chart


def monkey_draw(self):
def __monkey_draw(self):
"""
Monkey patches `yellowbrick.regressor.CooksDistance.draw()`
to remove unsupported matplotlib argument `use_line_collection`.
Expand Down Expand Up @@ -763,7 +763,7 @@ def monkey_draw(self):
return self.ax


CooksDistance.draw = monkey_draw
CooksDistance.draw = __monkey_draw


def create_cooks_distance_chart(regressor, X_train, y_train):
Expand Down

0 comments on commit 99bcfa9

Please sign in to comment.