mol_plot_all 1.2.973 → 1.2.974

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.js CHANGED
@@ -4222,14 +4222,18 @@ var $;
4222
4222
  const series_y = this.series_y();
4223
4223
  for (let i = 0; i < series_x.length; i++) {
4224
4224
  if (series_x[i] > next.x.max)
4225
- next.x.max = this.repos_x(series_x[i]);
4225
+ next.x.max = series_x[i];
4226
4226
  if (series_x[i] < next.x.min)
4227
- next.x.min = this.repos_x(series_x[i]);
4227
+ next.x.min = series_x[i];
4228
4228
  if (series_y[i] > next.y.max)
4229
- next.y.max = this.repos_y(series_y[i]);
4229
+ next.y.max = series_y[i];
4230
4230
  if (series_y[i] < next.y.min)
4231
- next.y.min = this.repos_y(series_y[i]);
4231
+ next.y.min = series_y[i];
4232
4232
  }
4233
+ next.x.max = this.repos_x(next.x.max);
4234
+ next.x.min = this.repos_x(next.x.min);
4235
+ next.y.max = this.repos_y(next.y.max);
4236
+ next.y.min = this.repos_y(next.y.min);
4233
4237
  return next;
4234
4238
  }
4235
4239
  color() {