Source code for plotnine.geoms.geom_line
from ..doctools import document
from .geom_path import geom_path
[docs]@document
class geom_line(geom_path):
"""
Connected points
{usage}
Parameters
----------
{common_parameters}
See Also
--------
plotnine.geoms.geom_path : For documentation of other parameters.
"""
def setup_data(self, data):
return data.sort_values(['PANEL', 'group', 'x'])