seaborn.objects.Nominal#

class seaborn.objects.Nominal(values=None, order=None)#

A categorical scale without relative importance / magnitude.

tick(locator=None)#

Configure the selection of ticks for the scale’s axis or legend.

Note

This API is under construction and will be enhanced over time. At the moment, it is probably not very useful.

Parameters:
locatormatplotlib.ticker.Locator subclass

Pre-configured matplotlib locator; other parameters will not be used.

Returns:
Copy of self with new tick configuration.
label(formatter=None)#

Configure the selection of labels for the scale’s axis or legend.

Note

This API is under construction and will be enhanced over time. At the moment, it is probably not very useful.

Parameters:
formattermatplotlib.ticker.Formatter subclass

Pre-configured matplotlib formatter; other parameters will not be used.

Returns:
scale

Copy of self with new tick configuration.