mol_plot_all 1.2.1052 → 1.2.1053

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
@@ -4224,8 +4224,12 @@ var $;
4224
4224
  }
4225
4225
  next.x.max = this.repos_x(next.x.max);
4226
4226
  next.x.min = this.repos_x(next.x.min);
4227
+ if (next.x.max < next.x.min)
4228
+ next.x = next.x.inversed;
4227
4229
  next.y.max = this.repos_y(next.y.max);
4228
4230
  next.y.min = this.repos_y(next.y.min);
4231
+ if (next.y.max < next.y.min)
4232
+ next.y = next.y.inversed;
4229
4233
  return next;
4230
4234
  }
4231
4235
  color() {
package/node.test.js CHANGED
@@ -4215,8 +4215,12 @@ var $;
4215
4215
  }
4216
4216
  next.x.max = this.repos_x(next.x.max);
4217
4217
  next.x.min = this.repos_x(next.x.min);
4218
+ if (next.x.max < next.x.min)
4219
+ next.x = next.x.inversed;
4218
4220
  next.y.max = this.repos_y(next.y.max);
4219
4221
  next.y.min = this.repos_y(next.y.min);
4222
+ if (next.y.max < next.y.min)
4223
+ next.y = next.y.inversed;
4220
4224
  return next;
4221
4225
  }
4222
4226
  color() {