From c69ec608e8a47a8b3c7232b871abb0d9d814f60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 17 Mar 2020 13:50:48 +0100 Subject: [PATCH] [python] matplotlib: label are centered around their position --- python/port/mod/matplotlib/plot_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/port/mod/matplotlib/plot_view.cpp b/python/port/mod/matplotlib/plot_view.cpp index f2e5ba1d3..ff8dccb83 100644 --- a/python/port/mod/matplotlib/plot_view.cpp +++ b/python/port/mod/matplotlib/plot_view.cpp @@ -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 ); }