I'm trying to embed a matplotlib graph in tkinter. All the resources I have come across like this one or this one make use of the FigureCanvasTk.show function and the NavigationToolbar2TkAgg class which have been deprecated.
What do I need to use instead?