View Issue Details

IDProjectCategoryView StatusLast Update
0000411ascendplottingpublic2011-03-09 19:32
Reporterjohn 
Assigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
Status newResolutionopen 
Product Version0.9.6 
Target Version1.0Fixed in Version 
Summary0000411: warning about repeated matplotlib.use() call
DescriptionReported by Krishnan:

John - I am attaching an error message I get when trying to plot (latest version, trunk)

(version 2239, way before we switched from http:// to svn:// ... works just fine) (script attached)
....
PLOTTABLE
RUNNING POPUP MENU
Plotting instance 'isotherm'...
Creating plot...
Created curveTitle: PVT Isotherm for van Der Waals Gas
/usr/lib/python2.5/site-packages/matplotlib/__init__.py:755: 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)
Using python module numpy
XLabel: Volume
YLabel: Pressure
TagsNo tags attached.

Relationships

Activities

2009-07-21 09:46

 

asee-p1.a4c (3,653 bytes)

john

2009-07-21 09:48

administrator   ~0000568

Reminder sent to: krishnan

Hi Krishnan

I have reported your comment as a bug. I think that this is pretty minor. As far as I can tell, the model still works perfectly. I have also seen this issue before; I think it arises from me having two different bits of code where 'matplotlib.use()' is called; I don't think it's a big concern.

Cheers
JP

Issue History

Date Modified Username Field Change
2009-07-21 09:46 john New Issue
2009-07-21 09:46 john File Added: asee-p1.a4c
2009-07-21 09:48 john Note Added: 0000568
2009-07-21 09:48 john Status new => assigned
2009-07-21 09:48 john Assigned To => john
2010-02-24 18:13 john Assigned To john =>
2010-02-24 18:13 john Status assigned => new
2010-03-23 18:24 john Target Version => 0.9.8
2011-03-09 19:32 john Target Version 0.9.8 => 1.0