We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fac4ad5 + df183df commit bccdf2eCopy full SHA for bccdf2e
lib/matplotlib/backends/backend_qt5.py
@@ -709,7 +709,7 @@ def _init_toolbar(self):
709
# Esthetic adjustments - we need to set these explicitly in PyQt5
710
# otherwise the layout looks different - but we don't want to set it if
711
# not using HiDPI icons otherwise they look worse than before.
712
- if is_pyqt5():
+ if is_pyqt5() and self.canvas._dpi_ratio > 1:
713
self.setIconSize(QtCore.QSize(24, 24))
714
self.layout().setSpacing(12)
715
0 commit comments