fix for issue 1548, remove import of matplotlib.pyplot
not sure how to craft a test for this, especially given as we may not be able to presume which backends are present on a system, nor does there seem to be an easy way to find out, but local run of the above code ceased raising the warning.
