fix tk error on windows

This commit is contained in:
Sonny Box
2026-07-26 17:30:44 -07:00
parent 24fe22fe9c
commit 4b156e880c
+5
View File
@@ -3,6 +3,10 @@ import random
from comfy_api.latest import io, ui
import folder_paths
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import numpy as np
@@ -10,6 +14,7 @@ from PIL import Image
import torch
class SigmasGraph(io.ComfyNode):
def __init__(self):
# Based on PreviewImage logic here to save to the temp directory