jupyter-jsmol icon indicating copy to clipboard operation
jupyter-jsmol copied to clipboard

Loading multiple applets during initialisation

Open fekad opened this issue 3 years ago • 0 comments

In the case of using ipywidget.Output there are multiple viewers has been generated. To reproduce the issue:

view4 = JsmolView()

o = Output()
display(o)

with o:
    display(view4)
    
view4.load_file('data/coord.xyz', '{2 2 2}', 'unitcell {4.365 4.625 6.359 90.0 90.0 90.0}', inline=True)    

fekad avatar Feb 02 '22 11:02 fekad