mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[python/matplotlib] Add a Dot iterator
This commit is contained in:
committed by
Émilie Feral
parent
6f3d3f62de
commit
5ada80d03b
@@ -11,8 +11,7 @@ void PlotView::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
drawLabelsAndGraduations(ctx, rect, Axis::Vertical, true);
|
||||
drawLabelsAndGraduations(ctx, rect, Axis::Horizontal, true);
|
||||
|
||||
for (int i=0; i<m_store->numberOfDots(); i++) {
|
||||
PlotStore::Dot dot = m_store->dotAtIndex(i);
|
||||
for (PlotStore::Dot dot : m_store->dots()) {
|
||||
drawDot(ctx, rect, dot.x(), dot.y(), dot.color());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user