[python] matplotlib port: implement bar method

This commit is contained in:
Émilie Feral
2020-03-17 13:46:08 +01:00
parent 373a85f2b7
commit 0ae81374d9
7 changed files with 43 additions and 2 deletions

View File

@@ -26,6 +26,10 @@ void PlotView::drawRect(KDContext * ctx, KDRect rect) const {
for (PlotStore::Segment segment : m_store->segments()) {
traceSegment(ctx, rect, segment);
}
for (PlotStore::Rect rectangle : m_store->rects()) {
traceRect(ctx, rect, rectangle);
}
}
void PlotView::traceDot(KDContext * ctx, KDRect r, PlotStore::Dot dot) const {