import plotly.plotly as py
import matplotlib.pyplot as plt fig, ax = plt.subplots() ax.plot([1,2,3]) py.iplot_mpl(fig, world_readable=False)