You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.format_cursor_data.html
Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.artist.Artist.format_cursor_data

Artist.format_cursor_data(self, data)[source]

Return a string representation of data.

Note

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

get_cursor_data