Closed superstar54 closed 2 weeks ago
This PR introduces a ChangeTrackingDict, which detects the change of the dict, and automatically run (deepcopy - edit - assign back) for a traitlet.
ChangeTrackingDict
This make the following codes possible:
viewer.avr.species.settings['C']["color"]="blue" viewer.avr.species.settings['C']["radius"]=0.6
This PR introduces a
ChangeTrackingDict
, which detects the change of the dict, and automatically run (deepcopy - edit - assign back) for a traitlet.This make the following codes possible: