[Matplotlib-users] AttributeError: Subplot instance has no attribute 'xlabel'

2007-01-11 Thread Nils Wagner
Is this a bug ? ax1.xlabel(r'Frequency $f$ (Hz)') AttributeError: Subplot instance has no attribute 'xlabel' ax1 matplotlib.axes.Subplot instance at 0x2aaab468d3f8 Nils - Take Surveys. Earn Cash. Influence the Future

Re: [Matplotlib-users] AttributeError: Subplot instance has no attribute 'xlabel'

2007-01-11 Thread John Hunter
Nils == Nils Wagner [EMAIL PROTECTED] writes: Nils Is this a bug ? ax1.xlabel(r'Frequency $f$ (Hz)') Nils AttributeError: Subplot instance has no attribute 'xlabel' Yes, but it is a bug in your code (wink). See help(ax1). The method is ax1.set_xlabel. KDJ