emperor.Emperor.set_axes¶
-
Emperor.
set_axes
(visible=None, invert=None, color='white', view_type='scatter')¶ Change visual aspects about visible dimensions in a plot
Parameters: visible: list of thee ints, optional
List of three indices of the dimensions that will be visible.
invert: list of bools, optional
List of three bools that determine whether each axis is inverted or not.
color: str, optional
Color of the axes lines in the plot, should be a name or value in CSS format.
view_type: str, optional
Plot type to show either “scatter” for scatter plot or “parallel-plot” for a parallel plot view.
Returns: emperor.Emperor
Emperor object with updated settings.
Raises: ValueError
If the
visible
orinvert
arrays don’t have exactly three elements. If thevisible
elements are out of range i.e. if an index is not contained in the space defined by the dimensions property.TypeError
If the indices in
visible
are not all integers. If the values ofinvert
are not all boolean. Ifcolor
is not a string.See also
emperor.core.Emperor.color_by
,emperor.core.Emperor.scale_by
,emperor.core.Emperor.opacity_by
,emperor.core.Emperor.shape_by
,emperor.core.Emperor.set_background_color
Notes
This method is internally coupled to the
set_background_color
method.