mol_plot_all 1.2.1076 → 1.2.1077

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
@@ -3627,7 +3627,8 @@ var $;
3627
3627
  (obj.title) = () => ((this?.hint()));
3628
3628
  return obj;
3629
3629
  }
3630
- hue(){
3630
+ hue(next){
3631
+ if(next !== undefined) return next;
3631
3632
  return +NaN;
3632
3633
  }
3633
3634
  Sample(){
@@ -3649,6 +3650,7 @@ var $;
3649
3650
  ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
3650
3651
  ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
3651
3652
  ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
3653
+ ($mol_mem(($.$mol_plot_graph.prototype), "hue"));
3652
3654
  ($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
3653
3655
  type(){
3654
3656
  return "solid";
@@ -3776,7 +3778,7 @@ var $;
3776
3778
  graphs_colored() {
3777
3779
  const graphs = this.graphs_visible();
3778
3780
  for (let index = 0; index < graphs.length; index++) {
3779
- graphs[index].hue = () => this.graph_hue(index);
3781
+ graphs[index].hue(this.graph_hue(index));
3780
3782
  }
3781
3783
  return graphs;
3782
3784
  }
package/web.view.tree CHANGED
@@ -227,7 +227,7 @@ $mol_plot_graph $mol_svg_group
227
227
  back /$mol_svg
228
228
  Hint $mol_svg_title
229
229
  title <= hint <= title \
230
- hue +NaN
230
+ hue? +NaN
231
231
  Sample null
232
232
 
233
233
  $mol_plot_graph_sample $mol_view