edit_general_settings#
- NearField.edit_general_settings(background_color=(255, 255, 255), plot_color=(255, 255, 255), enable_y_stripes=True, field_width=4, precision=4, use_scientific_notation=True)#
Edit general settings for the plot.
- Parameters:
- background_color
tuple
,optional
Backgoround (R, G, B) color. The default is
(255, 255, 255)
. Each color value must be an integer in a range from 0 to 255.- plot_color
tuple
,optional
Plot (R, G, B) color. The default is
(255, 255, 255)
. Each color value must be an integer in a range from 0 to 255.- enable_y_stripesbool,
optional
Whether to enable Y stripes. The default is
True
.- field_width
int
,optional
Field width. The default is
4
.- precision
int
,optional
Field precision. The default is
4
.- use_scientific_notationbool,
optional
Whether to enable scientific notation. The default is
True
.
- background_color
- Returns:
- bool
True
when successful,False
when failed.