Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playing around with reactive marimo and techsweep data #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simi1505
Copy link
Contributor

I played around with https://github.com/marimo-team/marimo, a reactive Python notebook.

image

  • Install marimo in Visual Studio
  • Entering marimo edit in the terminal opens an online view of the marimo notebook.

I tried to change gm and gds based on L and Vgs sliders. Secondly, I created the gm/ID - fT vs. Vgs plot for different L with a slider. Unfortunately, matplotlib is currently not supported for reactive plots (will be updated in the future). Therefore, the plot is only visible in the code output in the online viewer.
https://docs.marimo.io/guides/working_with_data/plotting/#interactive-plots
https://docs.marimo.io/api/plotting/#marimo.mpl.interactive

Problems:

  • Right now, in Visual Studio I only get the "Code View" and the compiled output but not the "Notebook View". I only get the "Notebook View" in the online viewer. If someone knows how to get the "Notebook View" in Visual Studio, please let me know.
  • I have to add "sizing/" in front of every used path within the marimo Notebook. This should be changed in the future, since every other notebook does not need "sizing/".

@hpretl
Copy link
Member

hpretl commented Jan 21, 2025

@simi1505 This is very interesting! I am not merging for now but keep this PR so that we can iterate with it until we are happy and then put it officially in the course. I definitely need to play with Marimo. :-)

@hpretl hpretl self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants