Hiding Axes Scatter Plot

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

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.
4b35a687682a80421281ba50728d5f75995aead6
I’ve noticed that these lines appear whenever I have multiple axes on the same plot. Even by hiding the axes these lines appear