[python] Stub a matplotlib module

This commit is contained in:
Romain Goyet
2020-03-10 20:55:22 -04:00
committed by Émilie Feral
parent 2b73c4c9aa
commit c99bed6922
12 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#ifndef PYTHON_MATPLOTLIB_PLOT_VIEW_H
#define PYTHON_MATPLOTLIB_PLOT_VIEW_H
#include <apps/shared/labeled_curve_view.h>
#include "plot_store.h"
namespace Matplotlib {
class PlotView : public Shared::LabeledCurveView {
public:
PlotView(PlotStore * s) : Shared::LabeledCurveView(s) {}
void drawRect(KDContext * ctx, KDRect rect) const override;
};
}
#endif