[LON-CAPA-cvs] cvs: loncom /xml lonplot.pm
raeburn
raeburn at source.lon-capa.org
Wed Sep 26 11:24:47 EDT 2018
raeburn Wed Sep 26 15:24:47 2018 EDT
Modified files:
/loncom/xml lonplot.pm
Log:
- Use same regexp for xformat and yformat.
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.179 loncom/xml/lonplot.pm:1.180
--- loncom/xml/lonplot.pm:1.179 Wed Sep 26 14:52:43 2018
+++ loncom/xml/lonplot.pm Wed Sep 26 15:24:46 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Dynamic plot
#
-# $Id: lonplot.pm,v 1.179 2018/09/26 14:52:43 raeburn Exp $
+# $Id: lonplot.pm,v 1.180 2018/09/26 15:24:46 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -532,7 +532,7 @@
},
yformat => {
default => 'on',
- test => sub {$_[0]=~/^(on|off|\d+(f|F|e|E))$/},
+ test => sub {$_[0]=~/^(on|off|\d+(f|F|e|E|P(|\s*\Q\0317\0200\E)))$/},
description => 'Y-axis number formatting',
edit_type => 'choice',
choices => ['on', 'off', '2e', '2f'],
More information about the LON-CAPA-cvs
mailing list