Line fixes

* generalise the axis_formatting
* add support for hiding the legend
* add another line demo