# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

from glvis import glvis

# Load a remote data stream, see the "-mac" option of glvis and the sample 
# streams at https://github.com/GLVis/data/tree/master/streams
# stream = !curl -s https://glvis.org/data/streams/ex9.saved
stream = "\n".join(stream)

# Visualize the above stream (all GLVis keys and mouse commands work)
glvis(stream)

# Another vsualization instance of the same stream
glvis(stream + 'rljg****tttac0', 300, 300)

StarcoderdataJupyterScriptsDedupFiltered