<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Single stock analysis example in pyfolio
Here's a simple example where we produce a set of plots, called a tear sheet, for a stock.
Import pyfolio
Step1:  Fetch the daily returns for a stock
Step2:  Create a full tear sheet for the single stock
This will show charts about returns and shock events.
<ASSISTANT_TASK:>
Python Code:
%matplotlib inline
import pyfolio as pf
Explanation: Single stock analysis example in pyfolio
Here's a simple example where we produce a set of plots, called a tear sheet, for a stock.
Import pyfolio
End of explanation
stock_rets = pf.utils.get_symbol_rets('FB')
Explanation: Fetch the daily returns for a stock
End of explanation
pf.create_returns_tear_sheet(stock_rets, live_start_date='2015-12-1')
Explanation: Create a full tear sheet for the single stock
This will show charts about returns and shock events.
End of explanation
<END_TASK>