Getting a Python error with gscatter: How to troubleshoot and fix it?

20 Replies, 1488 Views

Hey! I’ve been there with the Python error gscatter issue. One thing that helped me was checking the shape of my arrays with `.shape`. Even if they look the same size, sometimes one might have an extra dimension.

Also, gscatter can be picky about the order of inputs. Make sure you’re passing x first, then y. If you’re still stuck, maybe try using seaborn’s scatterplot as an alternative? It’s less fussy.

Messages In This Thread



Users browsing this thread: 1 Guest(s)