Blood transfusion

_ = data.hist(figsize=(12, 10), bins=30, edgecolor=“black”, density=True)
returns an error on my jupyter notebook
‘AxesSubplot’ object has no attribute ‘rowNum’
after searching through google I couldn’t find the fix, any idea why it’s happening? my matplotlib is updated.


Thanks for reporting, I will try to reproduce a little later but it could be due to the matplotlib version installed on the server. I can see a warning on the system that we used to generate the jupyter-book. In case that you want to see the output of this notebook, you can refer to the following link for the moment: The blood transfusion dataset — Scikit-learn course

I cannot reproduce in the FUN interface. Everything works smoothly on my side.
Are you using FUN or on your local computer.

FYI: the version are matplotlib 3.4.2 and pandas 1.2.4

Looks like my Pandas library wasn’t updated, it works after updating it to the latest version, ty!

1 Like