[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

@@ -98,7 +98,7 @@ public:
};
void addRect(mp_obj_t x, mp_obj_t y, mp_obj_t width, mp_obj_t height, KDColor c);
Iterable<ListIterator<Rect>> rects() { return Iterable<ListIterator<Rect>>(m_segments); }
Iterable<ListIterator<Rect>> rects() { return Iterable<ListIterator<Rect>>(m_rects); }
// Label