SV: teqcplot error

Ashraf Mousa ashrafmousa07 at yahoo.com
Mon Oct 14 11:09:28 UTC 2019


Dear AsmundThanks a lotIt is now working nicely


Prof. Ashraf ElKutb Mousa

Prof. of Geodesy, Senior Geodesist

Crustal Movement lab

Geodynamic Dept.

National Research Institute of Astronomy and Geophysics, Helwan, Cairo

Mob. : +002-01061087313

Tel (home): +002-22-5187001

Tel (Work): +002-22-5541100 (ext. 347)

Fax (Work): +002-22-5548020
 

    On Monday, October 14, 2019, 11:30:38 AM GMT+2, Åsmund Skjæveland <Asmund.Skjaeveland at kartverket.no> wrote:  
 
 #yiv2933013859 #yiv2933013859 -- _filtered #yiv2933013859 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv2933013859 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv2933013859 {panose-1:2 11 5 2 4 2 4 2 2 3;} _filtered #yiv2933013859 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv2933013859 {font-family:Old;panose-1:2 5 6 4 5 5 5 2 2 4;}#yiv2933013859 #yiv2933013859 p.yiv2933013859MsoNormal, #yiv2933013859 li.yiv2933013859MsoNormal, #yiv2933013859 div.yiv2933013859MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:New serif;}#yiv2933013859 a:link, #yiv2933013859 span.yiv2933013859MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv2933013859 a:visited, #yiv2933013859 span.yiv2933013859MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv2933013859 p {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:New serif;}#yiv2933013859 span.yiv2933013859EpostStil18 {font-family:sans-serif;color:#1F497D;}#yiv2933013859 .yiv2933013859MsoChpDefault {font-size:10.0pt;} _filtered #yiv2933013859 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}#yiv2933013859 div.yiv2933013859WordSection1 {}#yiv2933013859 
Teqcplot was written for matplotlib (Python plotting library) version 1.3, but you have a later version installed (probably version 2 or 3). Try editing teqcplot.py and replace the word “axisbg” with “facecolor”.
 
(See alsohttps://stackoverflow.com/a/55427458/912307)
 
  
 

 
  
 
  
 
Åsmund Steen Skjæveland, PhD
 
Senior Engineer
 
Norwegian Mapping Authority, Geodetic Insititute
 
Direct: +47 32 11 84 52
 
E-mail:asmund.skjaeveland at kartverket.no
 
  
 
Switchboard: +47 32 11 81 00
 
Customer phone: +4732 11 80 00
 
www.kartverket.no
 
  
 
Frå: Ashraf Mousa [mailto:ashrafmousa07 at yahoo.com]
Send: 14. oktober 2019 11:14
Til: teqc at postal.unavco.org; Ashraf Mousa <ashrafmousa07 at yahoo.com>
Emne: teqcplot error
 
  
 
Dear
 
I have ununbu 19 with python 2.7.16
 
I am trying to use teqcplot with some GPS file
 
I used teqcplot of 2015
 
I used several trails for difference plots.
 
Example command is:
 
% ./teqcplot.py +skyplot QENA2700.azi QENA2700.ele
 
Here is the error output.
 
teqcplot.py 10Sep2015
Traceback (most recent call last):
  File "./teqcplot.py", line 967, in <module>
    makePlot() 
  File "./teqcplot.py", line 516, in makePlot
    ax = fig.add_axes([0.1, 0.1,  0.8, 0.8], projection='polar', axisbg=bgcolor) 
  File "/usr/lib/python2.7/dist-packages/matplotlib/figure.py", line 1149, in add_axes
    a = projection_class(self, rect, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/projections/polar.py", line 854, in __init__
    Axes.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 541, in __init__
    self.update(kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/artist.py", line 888, in update
    for k, v in props.items()]
  File "/usr/lib/python2.7/dist-packages/matplotlib/artist.py", line 881, in _update_property
    raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
 
Any help or clue to solve this issue.
 
best regards
 
  
 
Prof. Ashraf ElKutb Mousa
 
Prof. of Geodesy, Senior Geodesist
 
Crustal Movement lab
 
Geodynamic Dept.
 
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
 
Mob. : +002-01061087313
 
Tel (home): +002-22-5187001
 
Tel (Work): +002-22-5541100 (ext. 347)
 
Fax (Work): +002-22-5548020
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://postal.unavco.org/pipermail/teqc/attachments/20191014/b400990f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 6522 bytes
Desc: not available
URL: <https://postal.unavco.org/pipermail/teqc/attachments/20191014/b400990f/attachment.png>


More information about the teqc mailing list