summaryrefslogtreecommitdiffstats
path: root/python/gui
diff options
context:
space:
mode:
Diffstat (limited to 'python/gui')
-rw-r--r--python/gui/static/js/odr-predistortion.js7
-rw-r--r--python/gui/templates/predistortion.html2
2 files changed, 9 insertions, 0 deletions
diff --git a/python/gui/static/js/odr-predistortion.js b/python/gui/static/js/odr-predistortion.js
index e9f7c96..ff82142 100644
--- a/python/gui/static/js/odr-predistortion.js
+++ b/python/gui/static/js/odr-predistortion.js
@@ -39,6 +39,13 @@ function resultrefresh() {
if (data['statplot']) {
$('#dpdcapturestats').attr('src', data['statplot']);
}
+
+ if (data['amplot']) {
+ $('#dpdamplot').attr('src', data['amplot']);
+ }
+ if (data['pmplot']) {
+ $('#dpdpmplot').attr('src', data['pmplot']);
+ }
});
jqxhr.always(function() {
diff --git a/python/gui/templates/predistortion.html b/python/gui/templates/predistortion.html
index adbba7e..e21c688 100644
--- a/python/gui/templates/predistortion.html
+++ b/python/gui/templates/predistortion.html
@@ -42,6 +42,8 @@
<div class="panel-heading">Capture Statistics</div>
<div class="panel-body">
<img id="dpdcapturestats" />
+ <img id="dpdamplot" />
+ <img id="dpdpmplot" />
</div>
</div>