Step 1 Select Version of Python to Install Python has various versions available with differences between the syntax and working of different versions of the language.
If the Anaconda Prompt is available on your machine, it can usually be seen in the Windows Start Menu. Installing Python on Windows takes a series of few easy steps.
Matplotlib can be installed using with the Anaconda Prompt. matplotlib can be used in Python scripts, the Python and IPython shell (ala MATLAB or Mathematica), web application servers, and six graphical user interface toolkits. If the chart is not displayed or if you get the following error UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. Install Matplotlib with the Anaconda Prompt. matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Theįollowing command installs matplotlib: sudo apt install python3-matplotlibĬreate and run the following Python script: import matplotlib.pyplot as plt If you work with virtual environments, do not forget to activate your environmentīefore installing matplotlib, otherwise it will be installed system wide.