mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[python] Matplotlib: init store range depending on 'auto' parameter
This commit is contained in:
@@ -74,6 +74,7 @@ mp_obj_t modpyplot_axis(mp_obj_t arg) {
|
||||
sPlotStore->setXMax(mp_obj_get_float(items[1]));
|
||||
sPlotStore->setYMin(mp_obj_get_float(items[2]));
|
||||
sPlotStore->setYMax(mp_obj_get_float(items[3]));
|
||||
sPlotStore->setAxesAuto(false);
|
||||
}
|
||||
|
||||
// Build the return value
|
||||
|
||||
Reference in New Issue
Block a user