Create a Transparent Background for TkAgg

New to matplotlib and not exactly sure how to phrase my question, so I hope this makes sense.

I know we can adjust the alpha settings of the background to a Figure, but I ddnt see a way to make a FigureCanvasTkAgg invisible via the documentation below.

https://matplotlib.org/stable/api/backend_tk_api.html?highlight=tkagg#matplotlib.backends.backend_tkagg.FigureCanvasTkAgg

My code looks something like below (assuming the fig itself has a transparent setting to the background).

canvas = FigureCanvasTkAgg(fig)
canvas.draw()
canvas.get_tk_widget().pack(side=tk.TOP)

Thank you!

Even if the figure is itself transparent, it’s going to be drawing on a Tk window that isn’t. So if you mean you want to see other windows behind it, you’ll need to figure out how to get Tk to be transparent, which isn’t really a Matplotlib thing.