Skip to content

Commit c77d738

Browse files
committed
FIX correct warn function (#31)
1 parent d55fc5f commit c77d738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlresearch/utils/_visualization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def set_matplotlib_style(font_size=8, **rcparams):
7979
warn_msg = (
8080
"Could not find a LaTeX installation. ``text.usetex`` will be set to False."
8181
)
82-
warnings.warning(warn_msg)
82+
warnings.warn(warn_msg)
8383

8484
# Used to pass any additional custom configurations
8585
plt.rcParams.update(rcparams)

0 commit comments

Comments
 (0)