Skip to content

Low quality window plots on hidpi display #17440

@chesnokov-yuriy

Description

@chesnokov-yuriy

Bug report

Bug summary

Executing python script with line plotting code from command line on a hidpi 4k resolution display produces low quality UI window plot.

Code for reproduction

$ python3 plot.py

plot.py file contents:

from numpy import random

import matplotlib as mpl
import matplotlib.pyplot as pp

print(mpl.__version__)
print(mpl.get_backend())

pp.figure()
pp.plot(random.randn(250))
pp.grid()
pp.show()

Actual outcome

plot-lowdpi

3.2.1
Qt5Agg

Expected outcome

Expected high quality UI window plots as in Spyder IDE running on the same machine

plot-hidpi

or similar high quality UI window plots from command line in the previous Kubuntu 19 with matplotlib 3.0.3 and Python 3.7

Matplotlib version

  • Operating system: Kubuntu 20.04
  • Matplotlib version: 3.2.1
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.8.2
  • Jupyter version (if applicable):
  • Other libraries:

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