Examples: examples/customgrid.py ================================ .. image:: examples/customgrid.png Back to :ref:`examples-gallery` .. code-block:: python :linenos: plot = Plot() line = Line() line.yValues = [25, 40, 30, 23, 10, 50] line.xValues = range(len(line.yValues)) plot.add(line) plot.xLabel = "X Label" plot.yLabel = "Y Label" plot.yLimits = (0, 60) plot.grid.color = "#ff0000" plot.grid.style = "dotted" plot.grid.visible = True plot.save("customgri")