edit_x_axis#
- AMIEyeDiagram.edit_x_axis(font='Arial', font_size=12, italic=False, bold=False, color=(0, 0, 0), label=None)#
Edit the X-axis settings.
- Parameters:
- font
str
,optional
Font name. The default is
"Arial"
.- font_size
int
,optional
Font size. The default is
12
.- italicbool,
optional
Whether to use italic type. The default is
False
.- boldbool,
optional
Whether to use bold type. The default is
False
.- color
tuple
,optional
Font (R, G, B) color. The default is
(0, 0, 0)
. Each color value must be an integer in a range from 0 to 255.- label
str
,optional
Label for the Y axis. The default is
None
.
- font
- Returns:
- bool
True
when successful,False
when failed.