Skip to content

AttributeError with GTK3Agg backend #12015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
akhilman opened this issue Sep 5, 2018 · 0 comments · Fixed by #12016
Closed

AttributeError with GTK3Agg backend #12015

akhilman opened this issue Sep 5, 2018 · 0 comments · Fixed by #12016
Milestone

Comments

@akhilman
Copy link
Contributor

akhilman commented Sep 5, 2018

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
@akhilman akhilman changed the title No attribute '_unmultipled_rgba8888_to_premultiplied_argb32 with GTK3Agg backend AttributeError with GTK3Agg backend Sep 5, 2018
@QuLogic QuLogic added this to the v3.0 milestone Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants