Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/sage/interact/Graphics/plotColor.sagews
Views: 1086
@interact def color_experimenter(expression=input_box('x^2', 'Expression', str), color=Color('red')): if expression: try: plot(SR(expression), rgbcolor=color).show() except TypeError: print "There's a problem with your expression."
Interact: please open in CoCalc