mol_plot_all 1.2.972 → 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.mjs 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() {
package/node.test.js CHANGED
@@ -4213,14 +4213,18 @@ var $;
4213
4213
  const series_y = this.series_y();
4214
4214
  for (let i = 0; i < series_x.length; i++) {
4215
4215
  if (series_x[i] > next.x.max)
4216
- next.x.max = this.repos_x(series_x[i]);
4216
+ next.x.max = series_x[i];
4217
4217
  if (series_x[i] < next.x.min)
4218
- next.x.min = this.repos_x(series_x[i]);
4218
+ next.x.min = series_x[i];
4219
4219
  if (series_y[i] > next.y.max)
4220
- next.y.max = this.repos_y(series_y[i]);
4220
+ next.y.max = series_y[i];
4221
4221
  if (series_y[i] < next.y.min)
4222
- next.y.min = this.repos_y(series_y[i]);
4222
+ next.y.min = series_y[i];
4223
4223
  }
4224
+ next.x.max = this.repos_x(next.x.max);
4225
+ next.x.min = this.repos_x(next.x.min);
4226
+ next.y.max = this.repos_y(next.y.max);
4227
+ next.y.min = this.repos_y(next.y.min);
4224
4228
  return next;
4225
4229
  }
4226
4230
  color() {