Skip to content

Commit c893031

Browse files
committed
fix font logger message
1 parent 202ee86 commit c893031

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ppmpy/ppm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@
110110
from datetime import date
111111
import pickle
112112
import collections
113+
# FH: turn of fint logging as described here:
114+
# https://github.com/matplotlib/matplotlib/issues/14523
115+
# this became necessary when moving to jupyterhub3
116+
import logging
117+
logging.getLogger('matplotlib').setLevel(logging.ERROR)
113118

114119
# The unit of G in the code is 10^{-3} g cm^3 s^{-2}.
115120
G_code = nuconst.grav_const*1000.

0 commit comments

Comments
 (0)