[python] matplotlib: Enable to change the arrow shape via the head_width

arg
This commit is contained in:
Émilie Feral
2020-05-19 10:40:43 +02:00
parent c826c53659
commit 083f959b7b

View File

@@ -49,7 +49,7 @@ void PlotView::traceSegment(KDContext * ctx, KDRect r, PlotStore::Segment segmen
if (segment.arrowWidth() > 0.0f) {
float dx = segment.xEnd() - segment.xStart();
float dy = segment.yEnd() - segment.yStart();
drawArrow(ctx, r, segment.xEnd(), segment.yEnd(), dx, dy, segment.color());
drawArrow(ctx, r, segment.xEnd(), segment.yEnd(), dx, dy, segment.color(), segment.arrowWidth());
}
}