[python] Matplotlib: reload labels in PlotController::viewWillAppear

This commit is contained in:
Émilie Feral
2020-03-24 17:17:04 +01:00
parent 89b54d424e
commit 15e5f7a285
2 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,11 @@
namespace Matplotlib {
void PlotController::viewWillAppear() {
MicroPython::ExecutionViewControllerHelper::viewWillAppear(this);
curveView()->reload();
}
void PlotController::viewDidDisappear() {
MicroPython::ExecutionViewControllerHelper::viewDidDisappear(this);
m_store->flush();