Skip to content

Warning: Cannot change to a different GUI toolkit: notebook. Using qt instead. #11365

@parejkoj

Description

@parejkoj

Bug report

When I try to use the jupyter notebook %matplotlib notebook magic command on Linux (as the first command executed in the notebook), I get this warning:

Warning: Cannot change to a different GUI toolkit: notebook. Using qt instead.

Plots then appear a separate qt window, outside the browser. The %matplotlib inline command does work.

This occurs in freshly-opened jupyter notebooks, with a fresh kernel.

  • Operating system: Ubuntu 16.04/18.04
  • Matplotlib version: 2.1.1
  • Python version: 3.6.3
  • jupyter (1.0.0)
  • jupyter-client (5.2.3)
  • jupyter-console (5.2.0)
  • jupyter-core (4.4.0)
  • notebook (5.5.0)

LSST miniconda:
https://github.com/lsst/lsstsw/blob/master/etc/conda3_packages-linux-64.txt

I've since upgraded matplotlib and jupyter to attempt to remedy this, but upgrading didn't change the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy