PyChart Reference Manual

Node:Changing output, Previous:Clipping, Up:Tricks

### 21.3 Changing output

You can write to multiple files by calling `canvas.init()` before calling Area's `draw()` method. For example, the below example draws the first chart to `foo.pdf` and the next chart to `bar.pdf`.

    canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.init("foo.pdf")
    ar = area.T(...)
    ar.add_plot(...)
    ar.draw()

    canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.html">canvas.init("bar.pdf")
    ar = area.T(...)
    ar.add_plot(...)
    ar.draw()