class_docstr: The minimal interface for a converter to take custom data types (or
  sequences) and convert them to values Matplotlib can use.
class_docstr_tok: ["The","minimal","interface","for","a","converter","to","take","custom","data","types","(","or","sequences",")","and","convert","them","to","values","Matplotlib","can","use","."]
docstr: Convert *obj* using *unit* for the specified *axis*.
  
  If *obj* is a sequence, return the converted sequence.  The output must
  be a sequence of scalars that can be used by the numpy array layer.
docstr_tok: ["Convert","*","obj","*","using","*","unit","*","for","the","specified","*","axis","*",".","If","*","obj","*","is","a","sequence",",","return","the","converted","sequence",".","The","output","must","be","a","sequence","of","scalars","that","can","be","used","by","the","numpy","array","layer","."]
code: def convert(obj, unit, axis):
      """
      Convert *obj* using *unit* for the specified *axis*.
  
      If *obj* is a sequence, return the converted sequence.  The output must
      be a sequence of scalars that can be used by the numpy array layer.
      """
      return obj
  
file_path: matplotlib/lib/matplotlib/units.py
imports: from decimal import Decimal
  from numbers import Number
  import numpy
  from numpy import ma
  from matplotlib import cbook
label_desc: Use image node_id 3 for calling the ConversionInterface obj's underlying member method code with example usage: obj.convert(obj, unit, axis) and returns: obj