Hello,
I have a plot https://i.imgur.com/m5Sf3e8.png
I don't need axes, tickers. So I disable them with following code:
axisRect()->setAutoMargins(QCP::msNone); xAxis->setTicks(false); yAxis->setTicks(false); xAxis->setBasePen(QPen(Qt::NoPen)); yAxis->setBasePen(QPen(Qt::NoPen));
Result is this https://i.imgur.com/4ldel81.png.
And that is pretty much what I want but if one looks closely there is single pixel white line at the bottom and left sides where the QCPAxis have been.