Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/c/h/chirp-1.2.2/chirp/gui/chirpgui.py   chirp(Download)
    def add_geometry(self, obj):
        """  Add a geometry (polygon or interval) to the spectrogram """
        opts = dict(ec='k', lw=self._element_lw_unselected, fc=self.element_color, alpha=0.3)
        if isinstance(obj, geom.Polygon):
            p = wxgeom.poly_to_path(obj, **opts)