Skip to content

Commit

Permalink
fix matplotlib warning
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Sep 7, 2023
1 parent a02d160 commit 6ccc959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvclive/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _init_report(self):
" inside a notebook. Disabling report."
)
self._report_mode = None
if self._report_mode != "html" and not matplotlib_installed():
if self._report_mode in ("notebook", "md") and not matplotlib_installed():
logger.warning(
f"Report mode '{self._report_mode}' requires 'matplotlib'"
" to be installed. Disabling report."
Expand Down

0 comments on commit 6ccc959

Please sign in to comment.