class_docstr: Provides Matplotlib conversion functionality for the Monte UnitDbl class.
code: def convert(value, unit, axis):
      # docstring inherited
      if not cbook.is_scalar_or_string(value):
          return [
              UnitDblConverter.convert(x, unit, axis) for x in value
          ]
      # If no units were specified, then get the default units to use.
      if unit is None:
          unit = UnitDblConverter.default_units(value, axis)
      # Convert the incoming UnitDbl value/values to float/floats
      if (
          isinstance(axis.axes, polar.PolarAxes)
          and value.type() == "angle"
      ):
          # Guarantee that units are radians for polar plots.
          return value.convert("rad")
      return value.convert(unit)
  
file_path: matplotlib/lib/matplotlib/testing/jpl_units/UnitDblConverter.py
imports: import numpy
  from matplotlib import cbook, units
  import matplotlib.projections.polar
label_desc: Use image node_id 2 for calling the UnitDblConverter obj's underlying member method code with example usage: obj.convert(value, unit, axis) and returns: value, unknown, value