edit_y_axis#
- Spectral.edit_y_axis(name='Y1', font='Arial', font_size=12, italic=False, bold=False, color=(0, 0, 0), label=None)#
Edit the Y-axis settings.
- Parameters:
- name
str
,optional
Name for the main Y axis. The default is
"Y1"
.- 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
.
- name
- Returns:
- bool
True
when successful,False
when failed.