A start at looking at sharing Jupyter Notebooks. This is done at CoCalc and is a MatPlotLib demo. If you follow that link you can review the Jupyter Notebook for the MatPlotLib demo. If you want to ‘play with’ the code, you ‘click’ on edit and create a new project as an an anonymous user. You can also create a free account and work with the software.
My goal is to present my thoughts on Computational Thinking in Physics in Jupyter Notebooks. In addition to CoCalc one can download the Anaconda Navigator free distribution for a powerful pathway to Python and other languages