docstrings and removal of duplicated plotting code in gp_base