{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "%matplotlib inline" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\n# Webapp Demo\n\n\nThis example shows how to use the agg backend directly to create\nimages, which may be of use to web application developers who want\nfull control over their code without using the pyplot interface to\nmanage figures, figure closing etc.\n\n
It is not necessary to avoid using the pyplot interface in order to\n create figures without a graphical front-end - simply setting\n the backend to \"Agg\" would be sufficient.