[matplotlib/modpyplot] Adding keyword argument support for arrow function

Arrow function can now take into account the following keywords arguements :
- head_width
- color

Change-Id: I205dcd5776d53a4efcbf1e6da4edf29d8e399cab
This commit is contained in:
Arthur Camouseigt
2020-05-25 11:28:40 +02:00
committed by Émilie Feral
parent 555617aff3
commit 41da4f2bd5
4 changed files with 26 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ mp_obj_t modpyplot___init__();
void modpyplot_gc_collect();
void modpyplot_flush_used_heap();
mp_obj_t modpyplot_arrow(size_t n_args, const mp_obj_t *args);
mp_obj_t modpyplot_arrow(size_t n_args, const mp_obj_t *args, mp_map_t* kw_args);
mp_obj_t modpyplot_axis(size_t n_args, const mp_obj_t *args);
mp_obj_t modpyplot_bar(size_t n_args, const mp_obj_t *args);
mp_obj_t modpyplot_grid(size_t n_args, const mp_obj_t *args);