edit_grid#
- AMIConturEyeDiagram.edit_grid(minor_x: bool = True, minor_y: bool = True, major_x: bool = True, major_y: bool = True, style_minor: str = 'Solid', style_major: str = 'Solid', minor_color=(0, 0, 0), major_color=(0, 0, 0))#
Edit the grid settings for the plot.
- Parameters:
- minor_xbool,
optional Whether to enable the minor X grid. The default is
True.- minor_ybool,
optional Whether to enable the minor Y grid. The default is
True.- major_xbool,
optional Whether to enable the major X grid. The default is
True.- major_ybool,
optional Whether to enable the major Y grid. The default is
True.- style_minor
str,optional Minor grid style. The default is
"Solid".- style_major
str,optional Major grid style. The default is
"Solid".- minor_color
tuple,optional Minor grid (R, G, B) color. The default is
(0, 0, 0). Each color value must be an integer in a range from 0 to 255.- major_color
tuple,optional Major grid (R, G, B) color. The default is
(0, 0, 0). Each color value must be an integer in a range from 0 to 255.
- minor_xbool,
- Returns:
- bool
Truewhen successful,Falsewhen failed.