1
CS3352 - FOUNDATIONS OF
DATA SCIENCE
Unit V: DATA VISUALIZATION
Matplotlib
• Matplotlib is a low level graph plotting library
in python that serves as a visualization utility.
• It can be used in python scripts, shell, web
application servers and other graphical user
interface toolkits.
2
To Draw Something...
2D Graphics
Matplotlib Getting Started
• Installation of Matplotlib
– Prerequisite : Python and PIP need to be installed
– pip install matplotlib
• Import Matplotlib
– import matplotlib
• Checking Matplotlib Version
– import matplotlib
– print(matplotlib.__version__)
3
Python Matplotlib : Types of
Plots
• There are various plots which can be created
using python matplotlib.
• Some of them are listed below:
4
5

Importing Matplotlib - Line plots - Scatter plots Visualizing errors.pptx

  • 1.
    1 CS3352 - FOUNDATIONSOF DATA SCIENCE Unit V: DATA VISUALIZATION
  • 2.
    Matplotlib • Matplotlib isa low level graph plotting library in python that serves as a visualization utility. • It can be used in python scripts, shell, web application servers and other graphical user interface toolkits. 2 To Draw Something... 2D Graphics
  • 3.
    Matplotlib Getting Started •Installation of Matplotlib – Prerequisite : Python and PIP need to be installed – pip install matplotlib • Import Matplotlib – import matplotlib • Checking Matplotlib Version – import matplotlib – print(matplotlib.__version__) 3
  • 4.
    Python Matplotlib :Types of Plots • There are various plots which can be created using python matplotlib. • Some of them are listed below: 4
  • 5.