Grid mark
The GridX mark adds vertical lines from x ticks.
import plotynium as ply
plot = ply.plot(
[
ply.grid_x(
[0, 0.2, 0.5, 1],
stroke="#ffc105",
stroke_opacity=1,
)
],
style={"color": "white"}
)
with open("grid_x.svg", "w") as file:
file.write(str(plot))
The GridY mark adds horizontal lines from y ticks.