Re: [matplotlib-devel] error in add_subplot

2008-12-10 Thread John Hunter
On Wed, Dec 10, 2008 at 12:36 AM, Jae-Joon Lee [EMAIL PROTECTED] wrote: Current SVN (r6540) raise an error for the following code. Arg, bad timing. Charlie released 0.98.4 hours before you found this. Fortunately, the use case, fig = plt.figure() ax = maxes.Subplot(fig, 1, 1, 1)

[matplotlib-devel] error in add_subplot

2008-12-09 Thread Jae-Joon Lee
Current SVN (r6540) raise an error for the following code. import matplotlib.pyplot as plt import matplotlib.axes as maxes fig = plt.figure() ax = maxes.Subplot(fig, 1, 1, 1) fig.add_subplot(ax) /Users/jjlee/.virtualenvs/default/lib/python2.5/site-packages/matplotlib/figure.pyc in