[python] matplotlib: label are centered around their position

This commit is contained in:
Émilie Feral
2020-03-17 13:50:48 +01:00
parent 0ae81374d9
commit c69ec608e8

View File

@@ -59,7 +59,7 @@ void PlotView::traceLabel(KDContext * ctx, KDRect r, PlotStore::Label label) con
drawLabel(ctx, r,
label.x(), label.y(), label.string(),
KDColorBlack,
RelativePosition::Before,
RelativePosition::None,
RelativePosition::None
);
}