Skip to content

Commit 98a3d80

Browse files
Merge pull request #248 from paxtonfitzpatrick/master
close tmp stdout stream, pin max sklearn version
2 parents 36c12fd + 61c82dd commit 98a3d80

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hypertools/plot/backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ def _switch_backend_notebook(backend):
527527
IPYTHON_INSTANCE.run_line_magic('matplotlib', '-l')
528528

529529
output_msg = tmp_stdout.getvalue().strip()
530+
tmp_stdout.close()
530531
if exc is not None:
531532
# just in case something else was somehow sent to stdout while
532533
# redirected, or if we managed to catch a different KeyError

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PPCA>=0.0.2
2-
scikit-learn>=0.19.1,!=0.22
2+
scikit-learn>=0.19.1,!=0.22,<0.24
33
pandas>=0.18.0
44
seaborn>=0.8.1
55
matplotlib>=1.5.1

0 commit comments

Comments
 (0)