matplotlib.axis.XAxis.update_units

XAxis.update_units(self, data)

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

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axis.XAxis.update_units.html