Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.12 quit unexpectedly during wavelet analysis #26

Open
LingyunXiong opened this issue Feb 28, 2025 · 1 comment
Open

Python3.12 quit unexpectedly during wavelet analysis #26

LingyunXiong opened this issue Feb 28, 2025 · 1 comment

Comments

@LingyunXiong
Copy link

Hi,

Application crashed during wavelet analysis using pyBOAT on a Mac (M2 chip). Terminal logs are shown below. All tips are welcome!

Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.12/site-packages/pyboat/ui/data_viewer.py", line 968, in run_wavelet_ana
self.anaWindows[self.w_position] = WaveletAnalyzer(
^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/pyboat/ui/analysis.py", line 147, in init
self.initUI(position)
File "/opt/anaconda3/lib/python3.12/site-packages/pyboat/ui/analysis.py", line 167, in initUI
pl.plot_signal_modulus(
File "/opt/anaconda3/lib/python3.12/site-packages/pyboat/plotting.py", line 322, in plot_signal_modulus
cb.set_label("Wavelet Power", rotation="0", labelpad=-12, fontsize=0.9 * label_size)
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/colorbar.py", line 967, in set_label
self.ax.set_xlabel(label, loc=loc, **kwargs)
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/axes/_base.py", line 3556, in set_xlabel
return self.xaxis.set_label_text(xlabel, fontdict, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/axis.py", line 1867, in set_label_text
self.label.update(kwargs)
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/text.py", line 205, in update
ret.extend(super().update(kwargs))
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/artist.py", line 1206, in update
return self._update_props(
^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/artist.py", line 1192, in _update_props
ret.append(func(v))
^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/matplotlib/text.py", line 1234, in set_rotation
raise ValueError("rotation must be 'vertical', 'horizontal' or "
ValueError: rotation must be 'vertical', 'horizontal' or a number, not 0
[1] 4952 abort pyboat

@tensionhead
Copy link
Owner

Hi @LingyunXiong,

this looks like an exact duplicate of #24 , are you sure you are running the latest pyBOAT 0.9.12 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants