renaming and documentation of line_plot