[python] Add an "axis" function to the matplotlib module

This commit is contained in:
Romain Goyet
2020-03-11 10:01:49 -04:00
committed by Émilie Feral
parent c99bed6922
commit 6a796f5f7c
10 changed files with 183 additions and 27 deletions

View File

@@ -8,8 +8,10 @@ namespace Matplotlib {
class PlotView : public Shared::LabeledCurveView {
public:
PlotView(PlotStore * s) : Shared::LabeledCurveView(s) {}
PlotView(PlotStore * s) : Shared::LabeledCurveView(s), m_store(s) {}
void drawRect(KDContext * ctx, KDRect rect) const override;
private:
PlotStore * m_store;
};
}