Skip to content

AttributeError with GTK3Agg backend #12015

@akhilman

Description

@akhilman

Bug report

Examples from examples/ directory doesn't work with GTK3Agg backend.

Actual outcome

`--> python examples/showcase/anatomy.py
Gtk-Message: 02:55:03.295: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
  File "/home/ildar/slivoglot-2/thirdparty/matplotlib/lib/matplotlib/backends/backend_gtk3agg.py", line 45, in on_draw_event
    buf = backend_cairo._unmultipled_rgba8888_to_premultiplied_argb32(
AttributeError: module 'matplotlib.backends.backend_cairo' has no attribute '_unmultipled_rgba8888_to_premultiplied_argb32'
Traceback (most recent call last):
  File "/home/ildar/slivoglot-2/thirdparty/matplotlib/lib/matplotlib/backends/backend_gtk3agg.py", line 45, in on_draw_event
    buf = backend_cairo._unmultipled_rgba8888_to_premultiplied_argb32(
AttributeError: module 'matplotlib.backends.backend_cairo' has no attribute '_unmultipled_rgba8888_to_premultiplied_argb32'
Traceback (most recent call last):
  File "/home/ildar/slivoglot-2/thirdparty/matplotlib/lib/matplotlib/backends/backend_gtk3agg.py", line 45, in on_draw_event
    buf = backend_cairo._unmultipled_rgba8888_to_premultiplied_argb32(
AttributeError: module 'matplotlib.backends.backend_cairo' has no attribute '_unmultipled_rgba8888_to_premultiplied_argb32'

Matplotlib version

  • Operating system: Debian Sid
  • Matplotlib version: current master 7c0e760
  • Matplotlib backend: GTK3Agg
  • Python version: 3.6
  • Cairocffi version: 0.9.0
  • Gtk-3 version: 3.22.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions