修改calman灰阶点击异常、修改色准结果显示异常
This commit is contained in:
@@ -104,6 +104,7 @@ def _render_chromaticity(kind: str, bbox: _BBox) -> np.ndarray:
|
||||
fig.canvas.draw()
|
||||
# 从 canvas 抓取 RGBA 数组
|
||||
buf = np.asarray(fig.canvas.buffer_rgba()).copy()
|
||||
buf = np.flipud(buf)
|
||||
plt.close(fig)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user