Skip to content

Error using "set_window_title" for canvas via backend_qt5agg #17716

@xo-HADES-xo

Description

@xo-HADES-xo

Bug summary
When using "set_window_title" I get this error:
self.manager.set_window_title(title)
AttributeError: 'NoneType' object has no attribute 'set_window_title'

Located in this file and error:
File "..\lib\site-packages\matplotlib\backend_bases.py", line 2245, in set_window_title
self.manager.set_window_title(title)
AttributeError: 'NoneType' object has no attribute 'set_window_title'

Code for reproduction
self.canvas.set_window_title('Some Text')

  • Operating system: Win 10
  • Matplotlib version: 3.3.0rc1
  • Matplotlib backend (print(matplotlib.get_backend())): matplotlib.backends.backend_qt5agg
  • Python version: 3.7.7
  • Other libraries: PyQt5: 5.15.0
pip

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

      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