mirror of
https://github.com/pim-n/pg-rad
synced 2026-06-17 15:59:35 +02:00
suppress matplotlib and PIL debug logging
This commit is contained in:
@ -7,6 +7,7 @@ from matplotlib.patches import Circle
|
|||||||
from pg_rad.landscape.landscape import Landscape
|
from pg_rad.landscape.landscape import Landscape
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
plt.set_loglevel(level='warning')
|
||||||
|
|
||||||
|
|
||||||
class LandscapeSlicePlotter:
|
class LandscapeSlicePlotter:
|
||||||
|
|||||||
@ -10,6 +10,9 @@ from pg_rad.simulator.outputs import SimulationOutput
|
|||||||
from pg_rad.landscape.landscape import Landscape
|
from pg_rad.landscape.landscape import Landscape
|
||||||
|
|
||||||
|
|
||||||
|
plt.set_loglevel(level='warning')
|
||||||
|
|
||||||
|
|
||||||
class ResultPlotter:
|
class ResultPlotter:
|
||||||
def __init__(self, landscape: Landscape, output: SimulationOutput):
|
def __init__(self, landscape: Landscape, output: SimulationOutput):
|
||||||
self.landscape = landscape
|
self.landscape = landscape
|
||||||
|
|||||||
Reference in New Issue
Block a user