@@ -39,7 +39,7 @@ def create_provider_comparison_chart(
3939 self ,
4040 comparison_result : ComparisonResult ,
4141 chart_type : str = "bar" ,
42- save_path : str | NonePath ] = None ,
42+ save_path : str | Path | None = None ,
4343 ) -> Path :
4444 """Create a chart comparing two providers"""
4545
@@ -70,7 +70,7 @@ def create_provider_comparison_chart(
7070 return save_path
7171
7272 def create_trend_chart (
73- self , trend_analysis : TrendAnalysis , save_path : str | NonePath ] = None
73+ self , trend_analysis : TrendAnalysis , save_path : str | Path | None = None
7474 ) -> Path :
7575 """Create a trend analysis chart"""
7676
@@ -175,7 +175,7 @@ def create_trend_chart(
175175 return save_path
176176
177177 def create_performance_dashboard (
178- self , results : list [BenchmarkResult ], save_path : str | NonePath ] = None
178+ self , results : list [BenchmarkResult ], save_path : str | Path | None = None
179179 ) -> Path :
180180 """Create a comprehensive performance dashboard"""
181181
@@ -226,8 +226,8 @@ def create_performance_dashboard(
226226 return save_path
227227
228228 def create_interactive_dashboard (
229- self , results : list [BenchmarkResult ], save_path : str | NonePath ] = None
230- ) -> str | NonePath ] :
229+ self , results : list [BenchmarkResult ], save_path : str | Path | None = None
230+ ) -> str | Path | None :
231231 """Create an interactive HTML dashboard using Plotly"""
232232
233233 if not PLOTLY_AVAILABLE :
@@ -671,7 +671,7 @@ def _plot_scenario_success_rates(self, results: list[BenchmarkResult], ax):
671671 )
672672
673673 def export_chart_data (
674- self , results : list [BenchmarkResult ], save_path : str | NonePath ] = None
674+ self , results : list [BenchmarkResult ], save_path : str | Path | None = None
675675 ) -> Path :
676676 """Export chart data as JSON for external visualization tools"""
677677
0 commit comments