mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] Stub a matplotlib module
This commit is contained in:
committed by
Émilie Feral
parent
2b73c4c9aa
commit
c99bed6922
33
python/port/mod/matplotlib/plot_store.h
Normal file
33
python/port/mod/matplotlib/plot_store.h
Normal 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
|
||||
Reference in New Issue
Block a user