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

Plots - Axes not matching with graphs #5697

Closed
PrimozGodec opened this issue Nov 17, 2021 · 1 comment · Fixed by biolab/orange-canvas-core#225
Closed

Plots - Axes not matching with graphs #5697

PrimozGodec opened this issue Nov 17, 2021 · 1 comment · Fixed by biolab/orange-canvas-core#225
Labels
bug report Bug is reported by user, not yet confirmed by the core team

Comments

@PrimozGodec
Copy link
Contributor

What's wrong?

Axes on various plots (scatter plot, hierarchical clustering) do not match with plots when using two screens (extended), and the screen is scaled. It only happens on Windows. It is a bug by photograph pyqtgraph/pyqtgraph#756, but it seems it is not solved there. I see just some suggestions.

error

How can we reproduce the problem?

  1. Use laptop connected to externals string (external screen extends your screen).
  2. Set Scaling to 125% in display settings.
  3. Open scatter plot with some data connected.

What's your environment?

  • Operating system: Windows 10
  • Orange version: 3.30.2
  • How you installed Orange: Installer
@PrimozGodec PrimozGodec added the bug report Bug is reported by user, not yet confirmed by the core team label Nov 17, 2021
@RitterD
Copy link

RitterD commented Jan 27, 2022

Hi,
i was able to fix this issue by adding this 2 lines before app = QApplication(sys.argv)

QApplication.setHighDpiScaleFactorRoundingPolicy(Qt.HighDpiScaleFactorRoundingPolicy.PassThrough) QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)

I hope it can fix ur issue as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Bug is reported by user, not yet confirmed by the core team
Projects
None yet
2 participants