重构拆分plot图表
This commit is contained in:
@@ -315,4 +315,4 @@ def plot_accuracy(app, accuracy_data, test_type):
|
||||
)
|
||||
|
||||
self.accuracy_canvas.draw()
|
||||
self.chart_notebook.select(4)
|
||||
self.chart_notebook.select(self.accuracy_chart_frame)
|
||||
|
||||
@@ -320,6 +320,6 @@ def plot_cct(app, test_type):
|
||||
)
|
||||
|
||||
self.cct_canvas.draw()
|
||||
self.chart_notebook.select(2)
|
||||
self.chart_notebook.select(self.cct_chart_frame)
|
||||
|
||||
self.log_gui.log("✓ xy 色度坐标图绘制完成")
|
||||
|
||||
@@ -165,4 +165,4 @@ def plot_contrast(app, contrast_data, test_type):
|
||||
)
|
||||
|
||||
self.contrast_canvas.draw()
|
||||
self.chart_notebook.select(3)
|
||||
self.chart_notebook.select(self.contrast_chart_frame)
|
||||
|
||||
@@ -138,6 +138,6 @@ def plot_gamma(app, L_bar, results_with_gamma_list, target_gamma, test_type):
|
||||
|
||||
# ========== 4. 绘制到画布 ==========
|
||||
self.gamma_canvas.draw()
|
||||
self.chart_notebook.select(1)
|
||||
self.chart_notebook.select(self.gamma_chart_frame)
|
||||
|
||||
self.log_gui.log("Gamma曲线 + 数据表格绘制完成")
|
||||
|
||||
@@ -534,6 +534,6 @@ def plot_gamut(app, results, coverage, test_type):
|
||||
)
|
||||
|
||||
self.gamut_canvas.draw()
|
||||
self.chart_notebook.select(0)
|
||||
self.chart_notebook.select(self.gamut_chart_frame)
|
||||
|
||||
self.log_gui.log("色域图绘制完成")
|
||||
|
||||
Reference in New Issue
Block a user