I was recently using PyQT5 to display a matplotlib figure, and I found a demo of the code online with a line in the import package like this:
from matplotlib.