Movatterモバイル変換


[0]ホーム

URL:


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

qt5agg image quality changes when window is out of focus #13012

Closed
Labels
Milestone
@dcherian

Description

@dcherian

Bug report

Bug summary

Quality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus.

Code for reproduction

importmatplotlib.pypotaspltplt.plot([1,2,3,4], [5,5.5,6.5,8.5],alpha=0.5)

Actual outcome

mpl-before

Switch to different window and back:
mpl-after

At this stage, callingplt.draw() fixes it till the window goes out of focus. Zooming in on the figure also returns it to the earlier quality. Note that transparency is lost.

Expected outcome

Rendering doesn't change.

Matplotlib version

  • Operating system: Ubuntu 16.04
  • Matplotlib version: 3.0.2
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.6.7
  • Jupyter version (if applicable): console 6.0.0
  • Other libraries: pyqt 5.6.0 py36h8210e8a_7 conda-forge

everything installed from conda-forge using conda.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp