Skip to content

Commit 8b46c61

Browse files
committed
Python 2 backwards compatibility in example
This lines breaks the gallery build in python 2, which is the version on which CircleCI runs. Other option is to build the docs on Python 3
1 parent 83b21a4 commit 8b46c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ensemble/plot_partial_dependence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def main():
6969
random_state=1)
7070
names = cal_housing.feature_names
7171

72-
print("Training GBRT...", flush=True, end='')
72+
print("Training GBRT...")
7373
clf = GradientBoostingRegressor(n_estimators=100, max_depth=4,
7474
learning_rate=0.1, loss='huber',
7575
random_state=1)

0 commit comments

Comments
 (0)