Skip to content

Commit

Permalink
Hide bottom axis in BasicDataPlotTest tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Jan 12, 2025
1 parent f263ed7 commit 62ccb6f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/BasicDataPlotTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ void preparePlot(BasicDataPlot& plot)
const QVector<QPointF> regressionPoints{{min, 38.002}, {max, 78.4491}};
const QVector<QPointF> data{getData()};
const Quantiles quantiles{getQuantiles()};
plot.setAxisVisible(QwtPlot::xBottom, false);
plot.setNewData(data, quantiles, regressionPoints);
plot.resize(common::getPlotSize());
}
Expand All @@ -72,6 +73,7 @@ void BasicDataPlotTest::testPlotWithoutData()
const QVector<QPointF> regressionPoints{{0, 0}, {0, 0}};
const Quantiles quantiles;
BasicDataPlot plot;
plot.setAxisVisible(QwtPlot::xBottom, false);
plot.setNewData({}, quantiles, regressionPoints);
plot.resize(common::getPlotSize());

Expand Down
Binary file modified tests/res/BasicDataPlotDefault.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/res/BasicDataPlotEmpty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/res/BasicDataPlotItemChecked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 62ccb6f

Please sign in to comment.