jupyter_meshcat.py
Go to the documentation of this file.
1 __all__ = ["show"]
2 
3 def show(url, height=50):
4  try:
5  import ipywidgets as widgets
6  w=widgets.HTML(value='<iframe style="width:100%; height:'+str(height)+'em;border:0" src="'+url+'"></iframe>')
7  w._ipython_display_()
8  except ImportError:
9  print('Jupyter Meshcat visualisation not supported!')
def show(url, height=50)


exotica_python
Author(s):
autogenerated on Sat Apr 10 2021 02:35:59