get_axes not present?
Mahmood Naderan
nt_mahmood at yahoo.com
Thu Nov 18 12:54:43 EST 2021
>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.
Do you think the following statement is correct?
ax1 = row.plot( fontsize=font_size,
linewidth=line_width,
markersize=marker_size,
marker='o',
title='Raw values',
label=cnt,
ax=axes[0] )
ax1.set_ylabel( yax_label, fontsize=font_size )
As you can see I put the result of plot() to ax1 and then use some functions, e.g. set_ylabel().
On the other hand, I have specified `label` and `ax` in plot(), too.
Regards,
Mahmood
More information about the Python-list
mailing list