Skip to content
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

Warnings with backend_nbagg #488

Open
lrdossan opened this issue Sep 12, 2022 · 1 comment
Open

Warnings with backend_nbagg #488

lrdossan opened this issue Sep 12, 2022 · 1 comment
Labels

Comments

@lrdossan
Copy link

Issue

There is a warning being triggered when running pytest with the following instruction:

ipympl.backend_nbagg.new_figure_manager_given_figure(1, matplotlib.figure.Figure()))

The warning is the following:

 /Users/luisaleixo/.pyenv/versions/3.9.6/envs/cara/lib/python3.9/site-packages/ipywidgets/widgets/widget.py:477: DeprecationWarning: Passing unrecognized arguments to super(Toolbar).__init__().
  __init__() missing 1 required positional argument: 'canvas'
  This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets.
    super(Widget, self).__init__(**kwargs)

It is not possible to downgrade the triatlets version for this project.

Versions

Name: ipympl
Version: 0.9.1

Name: pytest
Version: 6.2.5

@miracleyoo
Copy link

Same issue here. No matter what I plot in vscode-opened notebook using %matplotlib widget, this error msg pops out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants