Matplotlib, seaborn, and pandas all use the matplotlib basic objects like Fig and Axes on some level, so all you have to do is construct your plot with those and ensure that the plot has the correct methods and properties that are tested by the project’s tests.
If you have a working seaborn figure that passes the tests, you can use the usual python tools to inspect it (dir(), etc.) to construct a figure from matplotlib objects.