glue-viz/glue-openspace

Avoid removing and adding graph node when updating properties

开放

#1 创建于 2019年6月26日

 (0 条评论) (0 个反应) (0 位负责人)Python (4 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (2 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

At the moment, whenever any aspect of a layer is changed, we remove the graph node from OpenSpace and add a new one (this is done in layer_artist.py). We should make sure that we only add the graph node once and then make updates by setting only the properties that need to be set. This can include:

  • Changing the data to be shown (e.g. if a subset changes, or the attributes for the RA/Dec change)
  • Color
  • Visibility
  • Transparency
  • Point size/brightness

贡献者指南