Axes.format_cursor_data(self, data)

Return a string representation of data.


This method is intended to be overridden by artist subclasses. As an end-user of Matplotlib you will most likely not call this method yourself.

The default implementation converts ints and floats and arrays of ints and floats into a comma-separated string enclosed in square brackets.

See also


Examples using matplotlib.axes.Axes.format_cursor_data