Environment Setup for Matplotlib Read Courses Practice Improve Improve Improve Like Article Like Save Article Save Report issue Report Matplotlib is an overall package for creating static, animated, and interactive visualizations in Python. It literally opens up a whole new world of possibilities for you! Especially when it is used with Numpy or Pandas library, one can do unimaginable things. The plots give may give a new insight altogether. Now, the question arises i.e. How to make it running on your computer? But a more primary question would be, what are its pre-requisites or as we call it, dependencies for the software to run on your computer? Dependencies Python (>= 3.6) FreeType (>= 2.3) libpng (>= 1.2) NumPy (>= 1.11) setuptools cycler (>= 0.10.0) dateutil (>= 2.1) kiwisolver (>= 1.0.0) pyparsing We’re ready to get the Matplotlib on our system! Setting up On macOS Install libpng and Freetype using brew: brew install libpng freetype pkg-config In case you’re working on MacPorts, execute the following instead: port install libpng freetype pkgconfig Now install matplotlib from the source using: python -mpip install On Linux It’s the easiest to get it on Ubuntu since you can get all the dependencies by simply using the following command: sudo apt-get build-dep python-matplotlib Don't miss your chance to ride the wave of the data revolution! Every industry is scaling new heights by tapping into the power of data. Sharpen your skills, become a part of the hottest trend in the 21st century.Dive into the future of technology - explore the Complete Machine Learning and Data Science Program by GeeksforGeeks and stay ahead of the curve. Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore. Last Updated : 21 Apr, 2020 Like Article Save Article Previous Matplotlib Tutorial Next Using Matplotlib with Jupyter Notebook Share your thoughts in the comments Add Your Comment Please Login to comment...