8000 FIX: backport raw.plot proj toggle to 0.9/maint · Issue #2157 · mne-tools/mne-python · GitHub
[go: up one dir, main page]

Skip to content
FIX: backport raw.plot proj toggle to 0.9/maint #2157
@dengemann

Description

@dengemann

How to reproduce?
With sample data plot with show_options=True then move up and down through channel groups and toggle projs.

Error in sys.excepthook:
Traceback (most recent call last):
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/IPython/core/application.py", line 197, in excepthook
    return self.crash_handler(etype, evalue, tb)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/IPython/core/crashhandler.py", line 180, in __call__
    input("Hit <Enter> to quit (your terminal may close):")
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/IPython/utils/py3compat.py", line 150, in input
    return builtin_mod.raw_input(prompt)
RuntimeError: can't re-enter readline

Original exception was:
Traceback (most recent call last):
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 1870, in button_press_event
    self.callbacks.process(s, mouseevent)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py", line 540, in process
    proxy(*args, **kwargs)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py", line 415, in __call__
    return mtd(*args, **kwargs)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py", line 558, in _clicked
    if (t.get_window_extent().contains(event.x, event.y) or
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/text.py", line 741, in get_window_extent
    bbox, info, descent = self._get_layout(self._renderer)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/text.py", line 311, in _get_layout
    ismath=False)
  File "/Users/dengemann/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", line 166, in get_text_width_height_descent
    six.text_type(s), family, size, weight, style)
RuntimeError: CGContextRef is NULL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0