Updated of the forge from github with image system online

This commit is contained in:
2026-05-08 16:20:49 +08:00
parent d7c19ed782
commit 9f2e3f3f78
152 changed files with 1573 additions and 1201 deletions
+9 -2
View File
@@ -1,8 +1,15 @@
# import mxpic as mx
import mxpic_release.mxpic as mx
import mxpic as mx
import nazca as nd
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt # <-- Add this import
EC = mx.EC_dual_layer_px3(name="xxx",w_in=0.5,L_in=10,Ltp1=10,Ltp2=10,Ltp3=10)
EC = mx.EC_dual_layer_px3(name="xxx",w_in=0.5,L_in=10,Ltp1=100,Ltp2=200,Ltp3=300)
nd.export_plt(topcells=EC.cell,path="",title="test",filename="file.plt")
plt.savefig("test", bbox_inches='tight', dpi=300)
plt.close()
# import uuid
# mac = uuid.getnode()
# mc_addr = ':'.join(("%012X" % mac)[i:i+2] for i in range(0, 12, 2))