lumen-org / lumen

Interactive web application for the exploration, comparision and validation of probability models and its data
GNU Lesser General Public License v3.0
7 stars 4 forks source link

Color Scheme breaks sometimes #83

Closed Feathergunner closed 4 years ago

Feathergunner commented 5 years ago

Sometimes the color scheme is strange. In one occasion, setting a color based on a (discrete) variable with values within [0,5] uses a colormap that ranges from -6 to 6 which results in badly readable plots bug_report_lumen

Feathergunner commented 5 years ago

ideas:

Feathergunner commented 4 years ago

Update: I found another case where the color scheme changes. See attached screenshots. 1) Between the two screenshots, I only de-checked the box for data-points in the Specification tab. Note that while the displayed color-scheme of the legend on the right stays the same, the actual used color scheme in the plot seems to change from "diverging_Enum" (greens) to "sequential_Enum" (blues). 2) Also the same bug as above happend again: the variable "educ" only takes values from the set {0,1,2,3,4}. However, the colorscheme is scaled to the interval (-4.4 , 4.4). lumen_bug_colors_1 lumen_bug_colors_2

nandaloo commented 4 years ago

Does https://github.com/lumen-org/lumen/tree/issue83 fix it?