修改引用逻辑、新增Pattern更改界面、新增Calman灰阶界面
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
"""CCT / 色度一致性绘制。
|
||||
"""CCT / 色度一致性绘制。
|
||||
|
||||
Step 2 重构:从 pqAutomationApp.PQAutomationApp.plot_cct 原样搬迁。
|
||||
"""
|
||||
|
||||
import numpy as np
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
def plot_cct(self, test_type):
|
||||
if TYPE_CHECKING:
|
||||
from pqAutomationApp import PQAutomationApp
|
||||
|
||||
|
||||
|
||||
def plot_cct(self: "PQAutomationApp", test_type):
|
||||
"""绘制 x 和 y 坐标分离图 - 每个点标注纵坐标值"""
|
||||
|
||||
self.cct_fig.clear()
|
||||
@@ -322,3 +328,10 @@ def plot_cct(self, test_type):
|
||||
self.chart_notebook.select(self.cct_chart_frame)
|
||||
|
||||
self.log_gui.log("xy 色度坐标图绘制完成", level="success")
|
||||
|
||||
|
||||
class PlotCctMixin:
|
||||
"""由 tools/refactor_to_mixins.py 自动生成。
|
||||
把本模块的自由函数挂到 PQAutomationApp 上,便于 F12 跳转与类型推断。
|
||||
"""
|
||||
plot_cct = plot_cct
|
||||
|
||||
Reference in New Issue
Block a user