mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[python] Stub a matplotlib module
This commit is contained in:
committed by
Émilie Feral
parent
2b73c4c9aa
commit
c99bed6922
13
python/port/mod/matplotlib/plot_view.cpp
Normal file
13
python/port/mod/matplotlib/plot_view.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "plot_view.h"
|
||||
|
||||
namespace Matplotlib {
|
||||
|
||||
void PlotView::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
ctx->fillRect(rect, KDColorWhite);
|
||||
drawGrid(ctx, rect);
|
||||
drawAxes(ctx, rect);
|
||||
drawLabelsAndGraduations(ctx, rect, Axis::Vertical, true);
|
||||
drawLabelsAndGraduations(ctx, rect, Axis::Horizontal, true);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user