Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Pylab figure becomes unresponsive after an error #2583

Copy link
Copy link
Closed
@olcc

Description

@olcc
Issue body actions

Hello,

I use ipython --pylab for plotting a graph (like plot(rand(5))) and I add a label: xlabel(r"$\heta$")
But, oh, I made a mistake! I forget the t in the word \theta!
Bad luck, the pylab window is now unresponsive...

The problem is not the error, but the fact that the figure is now unresponsive and needs to be made entirely again. Expected behavior: interactive IPython/pylab should still be responsive after this error. The error is the following.

In [8]: Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
    return self.func(*args)
(...)
  File "/usr/lib/pymodules/python2.7/matplotlib/mathtext.py", line 2345, in parse   
    str(err)]))
ValueError:
\heta
^
Unknown symbol: \heta (at char 0), (line:1, col:1)
  • Debian distribution, with the following details:
    {'commit_hash': '',
    'commit_source': '(none found)',
    'default_encoding': 'UTF-8',
    'ipython_path': '/usr/lib/python2.7/dist-packages/IPython',
    'ipython_version': '0.13.2',
    'os_name': 'posix',
    'platform': 'Linux-3.2.0-2-amd64-x86_64-with-debian-wheezy-sid',
    'sys_executable': '/usr/bin/python',
    'sys_platform': 'linux2',
    'sys_version': '2.7.5+ (default, Jun 2 2013, 13:26:34) \n[GCC 4.7.3]'}

Best regards,
Olivier

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.