remove document plotting functions