Problem with install python matplotlib - segmentation fault
Everett, Thomas
Thomas.Everett@commscope.com
Tue Jul 16 17:18:29 GMT 2024
All I really need is some form of graphical plot options. I googled options and found many that did not work and finally used the setup-x86_64.exe to install matplotlib. I thin downloaded some simple examples and I either get nothing, or I get a segmentation fault.
te1025@LP-DLBK1J3 ~/scripts
$ ./simpleplot.py
Segmentation fault
te1025@LP-DLBK1J3 ~/scripts
$ ./linestyles.py
Traceback (most recent call last):
File "/home/te1025/scripts/./linestyles.py", line 71, in <module>
fig, (ax0, ax1) = plt.subplots(2, 1, figsize=(10, 8), height_ratios=[1, 3])
File "/usr/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1434, in subplots
fig = figure(**fig_kw)
File "/usr/lib/python3.9/site-packages/matplotlib/pyplot.py", line 787, in figure
manager = new_figure_manager(
File "/usr/lib/python3.9/site-packages/matplotlib/pyplot.py", line 306, in new_figure_manager
return _backend_mod.new_figure_manager(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/backend_bases.py", line 3493, in new_figure_manager
fig = fig_cls(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/figure.py", line 2238, in __init__
super().__init__(**kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/figure.py", line 216, in __init__
self.set(**kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/artist.py", line 116, in <lambda>
cls.set = lambda self, **kwargs: Artist.set(self, **kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/artist.py", line 1164, in set
return self.update(kwargs)
File "/usr/lib/python3.9/site-packages/matplotlib/artist.py", line 1064, in update
raise AttributeError(f"{type(self).__name__!r} object "
AttributeError: 'Figure' object has no property 'height_ratios'
te1025@LP-DLBK1J3 ~/scripts
$ ./multicolored_line.py
Segmentation fault
te1025@LP-DLBK1J3 ~/scripts
$
Can anyone suggestion options to get this resolved?
Thanks,
Thomas Everett
COMMSCOPE
now meets next
900 Chelmsford Street
Lowell, MA 01851 USA
Office: 978-614-3582
Mobile: 978-985-5884
Learn how CommScope is shaping the networks of the future<https://www.commscope.com/>
This electronic transmission (and any attached document) is for the sole use of the individual or entity to whom it is addressed. It is confidential and may be attorney-client privileged. In any event the Sender reserves, to the fullest extent, any "legal advice privilege". Any further distribution or copying of this message is strictly prohibited. If you received this message in error, please notify the Sender immediately and destroy the attached message (and all attached documents).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 123589 bytes
Desc: cygcheck.out
URL: <https://cygwin.com/pipermail/cygwin/attachments/20240716/6b3dfdbd/attachment-0001.obj>
More information about the Cygwin
mailing list