matplotlib.axis.Axis.update_units

Axis.update_units(self, data)[source]

Introspect data for units converter and update the axis.converter instance if necessary. Return True if data is registered for unit conversion.

Examples using matplotlib.axis.Axis.update_units