[Scipy-tickets] [SciPy] #390: scipy.optimize.fmin_bfgs fails without warning

SciPy scipy-tickets@scipy....
Mon Mar 26 09:26:57 CDT 2007


#390: scipy.optimize.fmin_bfgs fails without warning
----------------------------+-----------------------------------------------
 Reporter:  ycopin          |        Owner:  somebody
     Type:  defect          |       Status:  new     
 Priority:  normal          |    Milestone:          
Component:  scipy.optimize  |      Version:          
 Severity:  normal          |   Resolution:          
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by nils):

 The pylab part fails with

 {{{
 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
 569, in draw
     for a in self.axes: a.draw(renderer)
   File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line 1251,
 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'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/390#comment:2>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list