File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616from plotpy .builder import make
1717from plotpy .tests import vistools as ptv
1818
19- # Performance should be the same with "1" and "2" scale factors:
20- # (as of today, this is not the case, but it has to be fixed in the future:
21- # https://github.com/PlotPyStack/PlotPy/issues/10)
22- os .environ ["QT_SCALE_FACTOR" ] = "2"
23-
2419
2520@pytest .mark .skip (reason = "This test is not relevant for the automated test suite" )
2621def test_plot_highdpi ():
2722 """Curve plotting test with high DPI"""
23+
24+ # Performance should be the same with "1" and "2" scale factors:
25+ # (as of today, this is not the case, but it has to be fixed in the future:
26+ # https://github.com/PlotPyStack/PlotPy/issues/10)
27+ os .environ ["QT_SCALE_FACTOR" ] = "2"
28+
2829 x = np .linspace (- 10 , 10 , 5000000 ) # 5M points are needed to see the difference
2930 y = np .sin (np .sin (np .sin (x )))
3031 with qt_app_context (exec_loop = True ):
You can’t perform that action at this time.
0 commit comments