Skip to content

interactive mode not working with backends gtk3agg, gtk3cairo #3881

Closed as not planned
@thraen

Description

@thraen
import matplotlib
matplotlib.use('GTK3Cairo') 
from pylab import *
ion()
plot([1,2,3])
xlabel('hi mom')
show()

doesn't show anything, no error no plot. same for backends gtk3agg.
Only when I close the python shell I get an error:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python3.3/site-packages/matplotlib/_pylab_helpers.py", line 86, in destroy_all
    manager.destroy()
  File "/usr/lib64/python3.3/site-packages/matplotlib/backends/backend_gtk3.py", line 427, in destroy
    self.canvas.destroy()
AttributeError: 'FigureManagerGTK3Agg' object has no attribute 'canvas'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions