HOME/Articles/

matplotlib example covid19 analysis 01 imports (snippet)

Article Outline

Python matplotlib example 'covid19 analysis 01 imports'

Modules used in program:

  • import matplotlib.dates as mdates
  • import matplotlib.ticker as ticker
  • import matplotlib.pyplot as plt
  • import seaborn as sns
  • import numpy as np
  • import pandas as pd
  • import os, sys, glob

python covid19 analysis 01 imports

Python matplotlib example: covid19 analysis 01 imports

# Basic imports for path
import os, sys, glob

# Data loading and 
import pandas as pd
import numpy as np

# Plotting
import seaborn as sns
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.dates as mdates

# Setup data dir
DATA_DIR = "../csse_covid_19_data/csse_covid_19_daily_reports"