putting padding on graph