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