update_ticks¶
-
glue.core.util.
update_ticks
(axes, coord, components, is_log)[source]¶ Changes the axes to have the proper tick formatting based on the type of component.
Parameters: - axes – A matplotlib axis object to alter
- coord – ‘x’ or ‘y’
- components – A list() of components that are plotted along this axis
- is_log – Boolean for log-scale.
- max_categories – The maximum number of categories to display.
Returns: None or #categories if components is Categorical