You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The editor detects return values of type "matplotlib.axes._subplots.AxesSubplot" and displays them, but some functions (notably Pandas "hist" method) or any plot with argument subplots=True produces an array of AxesSubplot and are thus not displayed. This is unfortunate and confusing for our users.
>>>a=ndtest('sex=M,F;year=2000..2017')
>>># this should work out of the box>>># a.plot(subplots=True)>>>p=a.plot(subplots=True)
>>>p[0]
<matplotlib.axes._subplots.AxesSubplotat0x20a9900ff98>>>>type(p)
numpy.ndarray>>>p.shape
(2,)
>>>type(p[0])
matplotlib.axes._subplots.AxesSubplot
We need to avoid examining all elements of arrays systematically, but I think checking the first element of arrays should be enough anyway.
The text was updated successfully, but these errors were encountered:
The editor detects return values of type "matplotlib.axes._subplots.AxesSubplot" and displays them, but some functions (notably Pandas "hist" method) or any plot with argument subplots=True produces an array of AxesSubplot and are thus not displayed. This is unfortunate and confusing for our users.
We need to avoid examining all elements of arrays systematically, but I think checking the first element of arrays should be enough anyway.
The text was updated successfully, but these errors were encountered: