[python] matplotlib: add a comment to PlotView

This commit is contained in:
Émilie Feral
2020-03-30 16:01:07 +02:00
parent b290bed409
commit 2c82460470

View File

@@ -9,6 +9,8 @@ void PlotView::drawRect(KDContext * ctx, KDRect rect) const {
drawGrid(ctx, rect);
}
// Draw labels below all figures because they're drawn on a white rectangle.
// TODO: we could blend them in the background by adding a parameter to drawLabelsAndGraduations.
if (m_store->axesRequested()) {
drawAxes(ctx, rect);
drawLabelsAndGraduations(ctx, rect, Axis::Vertical, true);