Hi all, The script available at http://projects.scipy.org/scipy/scipy/ticket/390 yields
True parameters: (5.0, 1.0, -5.0), Guess parameters: (4.0, 1.5, -4.0) Optimization terminated successfully. Current function value: 33.309244 Iterations: 15 Function evaluations: 23 Gradient evaluations: 23 Bfgs: [ 5.2463809 1.00388921 -4.71114799] Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 284, in expose_event self._render_figure(self._pixmap, w, h) File "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 73, in _render_figure FigureCanvasAgg.draw(self) File "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 392, in draw self.figure.draw(renderer) File "/usr/lib64/python2.4/site-packages/matplotlib/figure.py", line 567, in draw for a in self.axes: a.draw(renderer) File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line 1281, in draw a.draw(renderer) File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line 208, in draw self._update_positions(renderer) File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line 570, in _update_positions ox, oy = self._find_best_position(w, h) File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line 440, in _find_best_position verts, bboxes, lines = self._auto_legend_data() File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line 357, in _auto_legend_data hlines = handle.get_lines() AttributeError: LineCollection instance has no attribute 'get_lines' Nils ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users