Segfault with raw.plot() on macOS
See original GitHub issueConsider the following example:
import numpy as np
import mne
info = mne.create_info(10, 500, "eeg")
raw = mne.io.RawArray(np.random.normal(scale=1e-5, size=(10, 10000)), info)
raw.plot()
When I run this script interactively (i.e. from IPython with %run plot_example.py) everything works fine. However, when I run the script with python3 plot_example.py, I get a segfault:
[1] 44467 segmentation fault python3 plot_example.py
I use Python 3.8.2 installed via Homebrew, but the same happens with Anaconda Python 3.7.6 and 3.8.2. Is it just me or can someone reproduce this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
raw.plot() causing segmentation fault - does this represent an ...
I'm just trying to work my way through one of the very first tutorials, and every time I attempt to use the raw.plot()...
Read more >Matplotlib segmentation fault Mac OS 11(Big Sur)
I am using the matplotlib's backend MacOSX to show a plot on GUI with the newest Mac OS 11 big sur. The script...
Read more >rhdf5 segfault
Hi, I'm trying to install the devel version of graph on the devel version of R. This fails with the error: Error: object...
Read more >What's new — MNE 1.3.dev0 documentation
Fix bug in mne.export.export_raw() when exporting raw to EDF with EDFLib when subject sex is missing (#11375 by new contributor Mark Alexander Henney)....
Read more >Changes — BioXTAS RAW 2.1.4 documentation
Fixed a bug where changing the range for REGALS in the SVD plot when there were ... Made RAW mostly dark mode compatible...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Reported upstream: https://github.com/matplotlib/matplotlib/issues/17061
I’ll close since it looks like @cbrnr is taking care of this upstream in https://github.com/matplotlib/matplotlib/pull/17084 (thanks!)