HOME/Articles/

matplotlib example traffic-post-1 (snippet)

Article Outline

Python matplotlib example 'traffic-post-1'

Modules used in program:

  • import matplotlib.pyplot as plt
  • import matplotlib
  • import numpy as np
  • import pandas as pd

python traffic-post-1

Python matplotlib example: traffic-post-1

import pandas as pd
import numpy as np
import matplotlib
import matplotlib.pyplot as plt

from __future__ import division, print_function

matplotlib.style.use('fivethirtyeight')
%matplotlib inline