Skip to content

Commit 31f4c59

Browse files
committed
use text progress bar until we figure out how to detect notebook
1 parent d731e79 commit 31f4c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/progressbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def run_from_ipython():
104104

105105
def progress_bar(iters):
106106
if run_from_ipython():
107-
if in_notebook():
107+
if None:
108108
return NotebookProgressBar(iters)
109109
else:
110-
return IPythonConsolePB(iters, ipythonprint)
110+
return TextProgressBar(iters, ipythonprint)
111111
else:
112112
return TextProgressBar(iters, consoleprint)

0 commit comments

Comments
 (0)