Skip to content

Commit

Permalink
Merge pull request #248 from paxtonfitzpatrick/master
Browse files Browse the repository at this point in the history
close tmp stdout stream, pin max sklearn version
  • Loading branch information
paxtonfitzpatrick authored Jun 15, 2021
2 parents 36c12fd + 61c82dd commit 98a3d80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hypertools/plot/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ def _switch_backend_notebook(backend):
IPYTHON_INSTANCE.run_line_magic('matplotlib', '-l')

output_msg = tmp_stdout.getvalue().strip()
tmp_stdout.close()
if exc is not None:
# just in case something else was somehow sent to stdout while
# redirected, or if we managed to catch a different KeyError
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PPCA>=0.0.2
scikit-learn>=0.19.1,!=0.22
scikit-learn>=0.19.1,!=0.22,<0.24
pandas>=0.18.0
seaborn>=0.8.1
matplotlib>=1.5.1
Expand Down

0 comments on commit 98a3d80

Please sign in to comment.