Skip to content

debugging matplotlib  #3263

Closed
Closed
@neuronphysics

Description

@neuronphysics

The matplotlib was so far working in my pc very well but then I started getting problem to import pyplab and pyplot. Therefore I installed again matplotlib and when I ran the troubleshoot command I got the following error message:

python examples/pylab_examples/simple_plot.py
Traceback (most recent call last):
  File "examples/pylab_examples/simple_plot.py", line 11, in <module>
    savefig("test.png")
  File "/vol/aibn84/aibn84_2/anaconda/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/pyplot.py", line 573, in savefig
    draw()   # need this if 'transparent=True' to reset colors
  File "/vol/aibn84/aibn84_2//anaconda/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/pyplot.py", line 566, in draw
    get_current_fig_manager().canvas.draw()
  File "/vol/aibn84/aibn84_2/anaconda/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/backends/backend_tkagg.py", line 351, in draw
    tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
  File "/vol/aibn84/aibn84_2/anaconda/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/backends/tkagg.py", line 24, in blit
    tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox_array))
_tkinter.TclError

I don't understand what caused the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions