HOME/Articles/

matplotlib example import (snippet)

Article Outline

Python matplotlib example 'import'

Modules used in program:

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

python import

Python matplotlib example: import

import numpy as np
import matplotlib
import matplotlib.pyplot as plt
%matplotlib inline
import pandas as pd
import seaborn as sns
sns.set(style="white",color_codes=True)
plt.rcParams['figure.figsize'] = (15,9.27)
matplotlib.rcParams['mathtext.fontset'] = "cm"