Python library for plotting galactic coordinates

Hi

I have data with equatorial coordinates and I want to create some 3d plot like that:

https://preview.redd.it/1gexxvdzrrxb1.png?width=850&format=png&auto=webp&s=b6f0d46b0ee1be50d203a576529118edcbfe7fab

but let’s imagine that earth is in the center and my galaxies are in some distance from the center and they are dots or draws. Do you know library for that or have I create it by myself?