edit_y_axis#

NearField.edit_y_axis(axis_name='Y1', font='Arial', font_size=12, italic=False, bold=False, color=(0, 0, 0), label=None)[source]#

Edit the Y-axis settings.

Parameters:
axis_namestr, optional

Name for the main Y axis. The default is "Y1".

fontstr, optional

Font name. The default is "Arial".

font_sizeint, 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.

colortuple, 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.

labelstr, optional

Label for the Y axis. The default is None.

Returns:
bool

True when successful, False when failed.