edit_grid#
- AMIEyeDiagram.edit_grid(minor_x=True, minor_y=True, major_x=True, major_y=True, style_minor='Solid', style_major='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.