Grid¶
-
class
aplpy.
Grid
(parent)[source]¶ Bases:
object
Methods Summary
hide
()set_alpha
(alpha)Set the alpha (transparency) of the grid lines set_color
(color)Set the color of the grid lines set_linestyle
(linestyle)set_linewidth
(linewidth)set_xspacing
(xspacing)Set the grid line spacing in the longitudinal direction set_yspacing
(yspacing)Set the grid line spacing in the latitudinal direction show
()Methods Documentation
-
set_alpha
(alpha)[source]¶ Set the alpha (transparency) of the grid lines
Parameters: - alpha : float
The alpha value of the grid. This should be a floating point value between 0 and 1, where 0 is completely transparent, and 1 is completely opaque.
-
set_color
(color)[source]¶ Set the color of the grid lines
Parameters: - color : str
The color of the grid lines
-
set_xspacing
(xspacing)[source]¶ Set the grid line spacing in the longitudinal direction
Parameters: - xspacing : float or str
The spacing in the longitudinal direction. To set the spacing to be the same as the ticks, set this to ‘tick’
-