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

def matplotlib::artist::Artist::convert_yunits (   self,
  y 
) [inherited]

for artists in an axes, if the yaxis as units support,
convert y using yaxis unit type

Definition at line 100 of file artist.py.

00100                                :
        """for artists in an axes, if the yaxis as units support,
        convert y using yaxis unit type
        """
        ax = getattr(self, 'axes', None)
        if ax is None or ax.yaxis is None: return y
        return ax.yaxis.convert_units(y)

    def set_axes(self, axes):


Generated by  Doxygen 1.6.0   Back to index