mol_plot_all 1.2.1054 → 1.2.1056

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
@@ -4214,22 +4214,14 @@ var $;
4214
4214
  const series_y = this.series_y();
4215
4215
  for (let i = 0; i < series_x.length; i++) {
4216
4216
  if (series_x[i] > next.x.max)
4217
- next.x.max = series_x[i];
4217
+ next.x.max = this.repos_x(series_x[i]);
4218
4218
  if (series_x[i] < next.x.min)
4219
- next.x.min = series_x[i];
4219
+ next.x.min = this.repos_x(series_x[i]);
4220
4220
  if (series_y[i] > next.y.max)
4221
- next.y.max = series_y[i];
4221
+ next.y.max = this.repos_y(series_y[i]);
4222
4222
  if (series_y[i] < next.y.min)
4223
- next.y.min = series_y[i];
4223
+ next.y.min = this.repos_y(series_y[i]);
4224
4224
  }
4225
- next.x.max = this.repos_x(next.x.max);
4226
- next.x.min = this.repos_x(next.x.min);
4227
- if (next.x.max < next.x.min)
4228
- next.x = next.x.inversed;
4229
- next.y.max = this.repos_y(next.y.max);
4230
- next.y.min = this.repos_y(next.y.min);
4231
- if (next.y.max < next.y.min)
4232
- next.y = next.y.inversed;
4233
4225
  return next;
4234
4226
  }
4235
4227
  color() {