suppress matplotlib and PIL debug logging

This commit is contained in:
Pim Nelissen
2026-05-17 07:31:42 +02:00
parent 3a23414810
commit e70b939c81
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ from matplotlib.patches import Circle
from pg_rad.landscape.landscape import Landscape
logger = logging.getLogger(__name__)
plt.set_loglevel(level='warning')
class LandscapeSlicePlotter:

View File

@ -10,6 +10,9 @@ from pg_rad.simulator.outputs import SimulationOutput
from pg_rad.landscape.landscape import Landscape
plt.set_loglevel(level='warning')
class ResultPlotter:
def __init__(self, landscape: Landscape, output: SimulationOutput):
self.landscape = landscape