Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions fastprogress/fastprogress.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
from fastcore.utils import *
from fasthtml.common import *

from IPython.display import display,HTML,Markdown

# %% ../nbs/01_fastprogress.ipynb
def format_time(t):
"Format `t` (in seconds) to (h):mm:ss"
Expand Down Expand Up @@ -165,7 +163,7 @@ def progress(self, *args, **kwargs): return self.pcls(*args, parent=self, **kwar
# %% ../nbs/01_fastprogress.ipynb
if IN_NOTEBOOK:
try:
from IPython.display import clear_output, display, HTML
from IPython.display import clear_output, display, HTML, Markdown
import matplotlib.pyplot as plt
except:
warn("Couldn't import ipython display functions, progress bar will use console behavior")
Expand Down