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

20 Replies, 1848 Views

Hey everyone, thanks so much for all the suggestions! I tried a bunch of them, and it turns out my data had some hidden NaNs that I missed. After cleaning it up with `.dropna()`, the Python error gscatter issue went away.

I also converted my data to numpy arrays using `.values`, and that seemed to do the trick. I’ll definitely check out the links and tools you all shared—Real Python and Plotly look super helpful.

One quick follow-up: does anyone know if gscatter works better with certain versions of matplotlib? I’m on 3.5.2, but I’m wondering if updating might help with other quirks. Thanks again!

Messages In This Thread



Users browsing this thread: 1 Guest(s)