You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since color and sampVal are the same for every node, it should be possible to omit these from the JSON. For trees with lots of nodes this would cut down on QZV size (and probably memory usage in the visualization) by a decent amount.
Even though attributes like color are changed dynamically in the visualization, we should be able to infer that -- for example -- a missing color for some node means that that node has the default color, aka [0.75, 0.75, 0.75] or whatever the default color is set to (#143).
The text was updated successfully, but these errors were encountered:
Not urgent, but there's code in
_plot.py
that does the following:empress/empress/_plot.py
Lines 82 to 89 in 6e4bbd3
Since
color
andsampVal
are the same for every node, it should be possible to omit these from the JSON. For trees with lots of nodes this would cut down on QZV size (and probably memory usage in the visualization) by a decent amount.Even though attributes like
color
are changed dynamically in the visualization, we should be able to infer that -- for example -- a missingcolor
for some node means that that node has the default color, aka[0.75, 0.75, 0.75]
or whatever the default color is set to (#143).The text was updated successfully, but these errors were encountered: