[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,33 @@
#ifndef PYTHON_MATPLOTLIB_PLOT_STORE_H
#define PYTHON_MATPLOTLIB_PLOT_STORE_H
//#include <apps/shared/curve_view_range.h>
#include <apps/shared/interactive_curve_view_range.h>
namespace Matplotlib {
class PlotStore : public Shared::InteractiveCurveViewRange {
public:
PlotStore() : Shared::InteractiveCurveViewRange() {}
/*
float xMin() const override { return 0.0f; }
float xMax() const override { return 1.0f; }
float yMin() const override { return 0.0f; }
float yMax() const override { return 1.0f; }
*/
private:
/*
mp_obj_array_t * m_plots;
mp_obj_array_t * m_arrows;
mp_obj_array_t * m_scatters;
mp_obj_array_t * m_texts;
mp_obj_array_t * m_rects;
bool m_grid;
*/
};
}
#endif