mirror of
				https://github.com/Akkudoktor-EOS/EOS.git
				synced 2025-10-30 22:36:21 +00:00 
			
		
		
		
	| @@ -5,6 +5,7 @@ import textwrap | ||||
| from collections.abc import Sequence | ||||
| from typing import Callable, Optional, Union | ||||
|  | ||||
| import matplotlib | ||||
| import matplotlib.dates as mdates | ||||
| import matplotlib.pyplot as plt | ||||
| import numpy as np | ||||
| @@ -17,6 +18,9 @@ from akkudoktoreos.optimization.genetic import OptimizationParameters | ||||
| from akkudoktoreos.utils.datetimeutil import to_datetime | ||||
|  | ||||
| logger = get_logger(__name__) | ||||
| matplotlib.use( | ||||
|     "Agg" | ||||
| )  # non-interactive backend that can only write to files, backend needed to stay in main thread. | ||||
|  | ||||
|  | ||||
| class VisualizationReport(ConfigMixin): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user