So here we will install the PyQt5 GUI toolkit. Install any of the GUI backends to solve this error using matplotlib python.
After installation of Tkinter in anaconda, import the tkinter library. Use the bellow mention command to install GUI backed in Anaconda. If you are not sure about whether you have it or not, you can easily see it in your machine Windows Start Menu. If you have Anaconda Prompt in your system, you can easily install Tkinter, from here using the below-mentioned commands. After installation of Tkinter in jupyter notebook, import the tkinter library. Use the bellow mention command to install GUI backend in Jupter Notebook. Use the below mention command to install GUI backend. In matplotlib, to solve this error, install the GUI-backend tk i.e. In Python, we have multiple ways of developing GUI, but the most commonly used method is Tkinter.Ī Non-GUI user interface is a machine that allows the user to interact with the machine without any graphics only with the text.Īlso, check: module ‘matplotlib’ has no attribute ‘plot’ Solution: matplotlib is currently using agg a non-gui backend Solution #1 It is a user interface through which we can interact with devices and visualize the plots also. GUI stands for the graphical user interface. When we get the Warning: Matplotlib is currently using agg a non-gui backend we can’t see the figures or we can say that visualization of plots is not possible.īasically, this error means that we have to install the GUI backend. Solution#2 Error: matplotlib is currently using agg a non-gui backend