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

20 Replies, 1485 Views

Yo! I feel your pain with the Python error gscatter thing. One thing that tripped me up was having extra dimensions in my data. If your arrays are 2D, even if they’re the same size, gscatter might throw that error.

Try flattening them with `.flatten()` or `.ravel()`. Also, check out this guide on matplotlib’s docs: [matplotlib.org](https://matplotlib.org). It’s a lifesaver!

Messages In This Thread



Users browsing this thread: 1 Guest(s)