summary: clicked "new fit"
description:
component: pdfgui
version: 1.0b.1833
traceback:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/pdfpanel.py", line 64, in _f
return func(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 203, in updateWidgets
self._check(None)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 257, in _check
self._plot(None)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 240, in _plot
self.mainFrame.control.plot(xval, yvals, refs, shift=offset, dry=(event is None))
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/control/pdfguicontrol.py", line 527, in plot
from plotter import Plotter
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/control/plotter.py", line 17, in <module>
from diffpy.pdfgui.gui.extendedplotframe import ExtendedPlotFrame
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/extendedplotframe.py", line 22, in <module>
matplotlib.use('WXAgg')
File "/usr/lib/python2.5/site-packages/matplotlib/__init__.py", line 750, in use
raise RuntimeError(_use_error_msg)
RuntimeError: matplotlib.use() must be called *before* pylab
or matplotlib.backends is imported for the first time.