I tried everything online and it doesnt work. I just want a 2d graph that represents the result which is a matrix. Let´s say this part of my code it´s a calculator for matrices, and I´m having trouble at the moment to make a pop up screen that shows a graph after giving the result. Btw I´m not missing any library.
def inversa():
a11=float(k1.get()) #saves user imput
a12=float(k2.get())
b21=float(k4.get())
b22=float(k5.get())
R1=[]
R2=[]
R1.append(a11)
R1.append(a12)
R2.append(b21)
R2.append(b22)
A =[R1,R2]
A = np.matrix(A)
mat2=np.linalg.inv(A)
tkinter.messagebox.showinfo("The inverse matrix is : ","%s"%mat2)