SV: teqcplot error

Åsmund Skjæveland Asmund.Skjaeveland at kartverket.no
Mon Oct 14 09:30:33 UTC 2019


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 also https://stackoverflow.com/a/55427458/912307)

[Logo_kartverket_mail.png]


Å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<mailto:asmund.skjaeveland at kartverket.no>

Switchboard: +47 32 11 81 00
Customer phone: +47 32 11 80 00
www.kartverket.no<http://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/ed10daec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 6522 bytes
Desc: image002.png
URL: <https://postal.unavco.org/pipermail/teqc/attachments/20191014/ed10daec/attachment-0001.png>


More information about the teqc mailing list