Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/thirdparty/cairoplot-trunk/trunk/cairoplot/handlers/handler.py
blob: 0ec54a7745bd11839eeaae275cebab73a550ae8c (plain)
1
2
3
4
5
6
7
8
9
10
11

class Handler(object):
    """Base class for all handlers."""

    def prepare(self, plot):
        pass

    def commit(self, plot):
        """All handlers need to finalize the cairo context."""
        plot.context.show_page()