Improve signal plotting
Another MR with multiple improvements / edits:
- Fix handling of non-numeric axes
- Improve drawing of line-plots
- Add initial support for bar-type plots
- Protect padding function for small numbers of bins
- Make sure the x-axis is labelled even when there's no ratio plot