title: 'Series' object has no attribute 'iplot'
body: <p>I have been trying to figure this problem out for the last 2 hours and keep coming up short on how to solve this error - have viewed youtube videos, went through stackoverflow, and I cannot understand where this is going wrong. 
  Please note I am working on an assignment, using Anaconda and Jupyter notebooks, with Python 3. </p>
  
  <pre><code>#Import Libraries
  import pandas as pd
  import numpy as np
  import seaborn as sns
  import matplotlib.pyplot as plt
  
  #Plotly Tools
  from plotly.offline import init_notebook_mode, iplot
  init_notebook_mode(connected=True)
  import plotly.graph_objs as go
  import plotly.offline as offline
  offline.init_notebook_mode()
  from plotly import tools
  import plotly.tools as tls
  init_notebook_mode(connected=True)
  
  #Import CSV as a Pandas Dataframe
  fp = pd.read_csv("gun-violence-data_01-2013_03-2018.csv")
  
  #Confirm that dataset was properly loaded
  fp.head()
  </code></pre>
  
  <p>After importing the libraries, I cleaned up the data a bit and put it into the dataframe 'fp_clean'. When I try to plot:</p>
  
  <pre><code>temp = fp_clean["state"].value_counts().head(30)
  temp.iplot(kind='bar')
  </code></pre>
  
  <p>I keep getting the following error:</p>
  
  <pre><code>---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-25-261d72eb2ae5&gt; in &lt;module&gt;
        4 #temp.plot(kind='bar')
        5 temp = fp_clean["state"].value_counts().head(30)
  ----&gt; 6 temp.iplot(kind='bar')
        7 #temp.iplot(kind='bar', xTitle = 'State name', yTitle = "# of incidents", title = 'Top States with highest number of Gun Violence', filename='Bar')
        8 #temp.plot(kind='bar')
  
  ~\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\generic.py in __getattr__(self, name)
     4374             if self._info_axis._can_hold_identifiers_and_holds_name(name):
     4375                 return self[name]
  -&gt; 4376             return object.__getattribute__(self, name)
     4377 
     4378     def __setattr__(self, name, value):
  
  AttributeError: 'Series' object has no attribute 'iplot'
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thank you!</p>