We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a56b25 commit e596da1Copy full SHA for e596da1
1 file changed
js/widgets/settings_table.js
@@ -52,7 +52,7 @@ $(function() {
52
53
plot_all_composites: function(scale_axes=false, allow_shrink=false) {
54
if (scale_axes) {
55
- $("#main-plot").main_plot("scale_axes", scale_axes.xmin, scale_axes.xmax, scale_axes.ymax, allow_shrink || this._elements.rows.reduce(function(sum, row) {
+ $("#main-plot").main_plot("scale_axes", scale_axes.xmin, scale_axes.xmax, parseFloat(scale_axes.ymax.toPrecision(2)), allow_shrink || this._elements.rows.reduce(function(sum, row) {
56
let inst = $(row.node()).settings_row("instance");
57
return sum + (inst.files_loaded && !inst.hide)
58
}, 0) === 1, true)
0 commit comments