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

Sign up
Appearance settings

IRuby integration is broken #18

Closed
Closed
Assignees
Labels
@mrkn

Description

Using with matplotlib 3.6.0, the following error occurs in Matplotlib::IRuby.activate.

PyCall::PyError: <class 'AttributeError'>: module 'matplotlib_rb.backend_inline' has no attribute 'FigureCanvas'
 File "/opt/conda/lib/python3.10/site-packages/matplotlib/pyplot.py", line 266, in switch_backend
 canvas_class = backend_mod.FigureCanvas
/home/jovyan/.local/share/gem/ruby/3.1.0/gems/matplotlib-1.2.0/lib/matplotlib/iruby.rb:201:in `switch_backend'
/home/jovyan/.local/share/gem/ruby/3.1.0/gems/matplotlib-1.2.0/lib/matplotlib/iruby.rb:201:in `activate_matplotlib'
/home/jovyan/.local/share/gem/ruby/3.1.0/gems/matplotlib-1.2.0/lib/matplotlib/iruby.rb:152:in `enable_matplotlib'
/home/jovyan/.local/share/gem/ruby/3.1.0/gems/matplotlib-1.2.0/lib/matplotlib/iruby.rb:111:in `activate'
(irb):1:in `<top (required)>'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /