HOME/Articles/

matplotlib example jupyter notebook imports (snippet)

Article Outline

Python matplotlib example 'jupyter notebook imports'

Modules used in program:

  • import matplotlib
  • import matplotlib.pyplot as plt
  • import seaborn as sns
  • import pandas as pd
  • import numpy as np
  • import dataframe

python jupyter notebook imports

Python matplotlib example: jupyter notebook imports

# import sys
# sys.path.insert(0, r"C:\code\python")
import dataframe

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

%matplotlib inline
matplotlib.rc('figure', figsize=(8,5))
pd.options.display.max_rows = 999