Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

def matplotlib::artist::ArtistInspector::aliased_name (   self,
  s 
)

return 'PROPNAME or alias' if s has an alias, else return
PROPNAME.

Eg for the line markerfacecolor property, which has an alias,
return 'markerfacecolor or mfc' and for the transform
property, which does not, return 'transform'

Definition at line 604 of file artist.py.

00604                              :
        """
        return 'PROPNAME or alias' if s has an alias, else return
        PROPNAME.

        Eg for the line markerfacecolor property, which has an alias,
        return 'markerfacecolor or mfc' and for the transform
        property, which does not, return 'transform'
        """
        if self.aliasd.has_key(s):
            return '%s or %s' % (s, self.aliasd[s])
        else: return s

    def pprint_setters(self, prop=None, leadingspace=2):


Generated by  Doxygen 1.6.0   Back to index