On 11/18/21 02:49, Mahmood Naderan via Python-list wrote:

   File 
"/home/mahmood/.local/lib/python3.8/site-packages/pandas/plotting/_matplotlib/core.py",
 line 903, in _get_subplots
     ax for ax in self.axes[0].get_figure().get_axes() if isinstance(ax, 
Subplot)
AttributeError: 'NoneType' object has no attribute 'get_axes'




I guess there is a mismatch between versions. Is there any workaround for that?

It's not saying get_axes doesn't exist because of version skew, it's saying that the object returned by the call to the left of it (get_figure()) returned None, and None doesn't have methods....

Something isn't set up right, but you'll have to trace that through.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to