I'm trying to get a bigger chart. However, the figure method from matplotlib does not seem to be working properly.
I get a message, which is not an error:
<matplotlib.figure.Figure at 0xa25f7f0>
My code:
import pandas.io.data as web
import pandas as pd
import matplotlib.pyplot as plt%matplotlib inline
...
plt.figure(figsize=(20,10))
df2['media']= df2['SPY']*.6 + df2['TLT']*.4
df2.plot()
plt.show()
What's wrong with my code?