Hiding Axes Scatter Plot

Is there a way to hide the extra lines (coming from separate axes) being shown in a plot?

I think you’re referring to

If not, could you clarify which “extra” lines you’d like taken out?

Thanks for responding so quickly.
I indicated on the image which lines I’d like to remove.
I’ve noticed that these lines appear whenever I have multiple axes on the same plot. Even by hiding the axes these lines appear