The preceding pandas plotting sections covered standard plots that pandas has given an easier implementation. However, pandas also has a subpackage (which is appropriately named plotting) with special plots that we can use on our data. The customization options of these may be more limited because of how they are composed and returned to us.
For this section, we will be working in 3-pandas_plotting_subpackage.ipynb. As usual, we begin with our imports and reading in the data:
>>> %matplotlib inline
>>> import matplotlib.pyplot as plt
>>> import numpy as np
>>> import pandas as pd
>>> fb = pd.read_csv(
... 'data/fb_stock_prices_2018.csv',
... index_col='date',
... parse_dates=True
... )