title: How to send a chart using pandas in python?
body: <p>I want to send a report email with charts, without using plotly. How can I send chart created with Pandas by email? Here is my code so far:</p>
  
  <pre><code>df = pd.DataFrame({'lab':eventID, 'val':counter})
  ax = df.plot.bar(x='lab', y='val', rot=0)
  
  email_body=ax
  
  msg = MIMEMultipart('alternative')
  msg['From'] = me
  msg['To'] = recipient
  msg['Subject'] = subject
  
  msg.attach(MIMEText(email_body, 'html'))
  server = smtplib.SMTP('smtp3.mycompany.com')
  server.ehlo()
  server.sendmail(me, recipient, msg.as_string())
  server.close()
  </code></pre>
  
  <p>What do I need to add to make it work?</p>