From: Rich S. <rsh...@ap...> - 2008-02-02 00:12:43
|
I just upgraded my Slackware-11.0 workstation from matplotlib-0.90.1 to -0.91.2. When I now start my application I see this: /usr/lib/python2.4/site-packages/matplotlib/__init__.py:753: UserWarning: This call to matplotlib.use() has no effect because the the backend has already been chosen; matplotlib.use() must be called *before* pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time. warnings.warn(_use_error_msg) I don't know to which matplotlib.use() call the message refers. At the top of the module in which matplotlib is used I have matplotlib.use('WXAgg') and the above warning did not appear with the prior version of the library. Please help me to understand what changed, and how to fix the change so the warning no longer appears. Thanks, Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 |