[python] Matplotlib: handle 'auto' range computation

This commit is contained in:
Émilie Feral
2020-03-26 11:41:35 +01:00
parent fb3f6ab6f3
commit 8aa1930f80
2 changed files with 63 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ public:
void setAxesRequested(bool b) { m_axesRequested = b; }
bool axesRequested() const { return m_axesRequested; }
void initRange();
void setGridRequested(bool b) { m_gridRequested = b; }
bool gridRequested() const { return m_gridRequested; }
@@ -130,6 +131,7 @@ private:
mp_obj_t m_segments; // List of (x, y, dx, dy, style, color)
mp_obj_t m_rects; // List of (x, y, w, h, color)
bool m_axesRequested;
bool m_axesAuto;
bool m_gridRequested;
};