[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

@@ -20,6 +20,7 @@ extern "C" {
#include "py/stackctrl.h"
#include "mphalport.h"
#include "mod/turtle/modturtle.h"
#include "mod/matplotlib/modpyplot.h"
}
static MicroPython::ScriptProvider * sScriptProvider = nullptr;
@@ -176,6 +177,7 @@ void gc_collect(void) {
gc_collect_start();
modturtle_gc_collect();
modpyplot_gc_collect();
/* get the registers.
* regs is the also the last object on the stack so the stack is bound by