When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error? October 10, 2022 by Tarik You don’t need the line of “fig.show()”. Just remove it. Then it will be no warning message.