# import 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=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)) # print(mc_addr)