Take the 2-minute tour ×  Hi i am using plotly to generate
graphs using Python, Bottle. However, this returns me a url.
Like:   I want to paste the entire graph into my webpage instead
of providing a link. Is this possible?  My code is:  import os
from bottle import run, template, get, post, request from plotly
import plotly  py = plotly(username='user', key='key')  def
form():     return '''<h2>Graph via Plot.ly</h2>
<form method="POST" action="/plot">                 Name: <input
name="name1" type="text" />                 Age: <input
name="age1" type="text" /><br/>                 Name: <input
name="name2" type="text" />                 Age: <input
name="age2" type="text" /><br/>                 Name: <input
name="name3" type="text" />                 Age: <input
name="age3" type="text" /><br/>
<input type="submit" />  def submit():     name1   =
request.forms.get('name1')     age1    =
request.forms.get('age1')     name2   =
request.forms.get('name2')     age2