lab-cosmo / chemiscope

An interactive structure/property explorer for materials and molecules
http://chemiscope.org
BSD 3-Clause "New" or "Revised" License
119 stars 29 forks source link

Fix appling map settings x and y properties #348

Closed sofiia-chorna closed 1 week ago

sofiia-chorna commented 2 weeks ago

Fixed bug: apply setting of min and max values for x and y properties of map :

settings = {
  'map': {
    'x': {
      'property': 'PCA1',
      "min": 42,    // to be applied
      "max": 180,   // to be applied
    },
    'y': {
      'property': 'PCA2',
      "min": 46,    // to be applied
      "max": 170,   // to be applied
    }
  }
}
ceriottm commented 1 week ago

while you are at it, did you also check what is done for the structure color?

sofiia-chorna commented 1 week ago

while you are at it, did you also check what is done for the structure color?

@ceriottm as far as I checked, the color range for the structure settings is applied