mol_plot_all 1.2.970 → 1.2.972

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/web.mjs CHANGED
@@ -3718,13 +3718,13 @@ var $;
3718
3718
  const series_y = this.series_y();
3719
3719
  for (let i = 0; i < series_x.length; i++) {
3720
3720
  if (series_x[i] > next.x.max)
3721
- next.x.max = series_x[i];
3721
+ next.x.max = this.repos_x(series_x[i]);
3722
3722
  if (series_x[i] < next.x.min)
3723
- next.x.min = series_x[i];
3723
+ next.x.min = this.repos_x(series_x[i]);
3724
3724
  if (series_y[i] > next.y.max)
3725
- next.y.max = series_y[i];
3725
+ next.y.max = this.repos_y(series_y[i]);
3726
3726
  if (series_y[i] < next.y.min)
3727
- next.y.min = series_y[i];
3727
+ next.y.min = this.repos_y(series_y[i]);
3728
3728
  }
3729
3729
  return next;
3730
3730
  }