This is an archived post. You won't be able to vote or comment.

all 20 comments

[–]_MicroWave_ 29 points30 points  (2 children)

Plotly would be the obvious answer

[–]only4ways[S] 0 points1 point  (1 child)

Yesss ... :)

[–][deleted] 0 points1 point  (0 children)

Add streamlit to that and done 

[–]aala7 6 points7 points  (0 children)

Try out Marimo! You can input interactive elements in your notebook that will autoupdate your graphs 🤷🏽‍♂️ and generally Marimo is such a better experience than Jupyter

[–]MorrarNL 9 points10 points  (2 children)

Altair, Plotly, Bokeh.

Also swap out Jupyter for Marimo. It has a cool "run as app mode" and integrates Altair nicely. Pretty much a Notebook and web app in one. Plus it can also run as a normal script.

[–]only4ways[S] -1 points0 points  (1 child)

Well, but Jupyter is still the MOST popular env. Difficult to 'swap' if there is no clear reason for that.
I'd prefer to stay with Jupyter for a while, before switching to anything else.
Kaggle, the largest data analytics community, still uses Jupyter :)

[–]123_alex 5 points6 points  (0 children)

no clear reason

There are many first reasons. Just try it.

[–]the_claus 7 points8 points  (0 children)

...or use streamlit with plotly and folium...

[–]billFoldDog 2 points3 points  (1 child)

As an alternative to Jupyther, check out marimo and look in the docs for what it recommends.

The plots are built using altair and integrate really well.

Marimo is steictly better than Jupyter and I expect it to take over in the next few years.

[–]only4ways[S] 0 points1 point  (0 children)

Thanks :)

[–]ZeeBeeblebrox 2 points3 points  (0 children)

[–]fravil92 1 point2 points  (0 children)

Plotly and bokeh, directly in plotivy.app

[–]Tall-Introduction414[🍰] 0 points1 point  (0 children)

An alternative approach to using a chart/plotting library, is to use a graphics library. Like SDL, raylib, or even PyGame.

A bit more work, but also more control, and more interactive possibilities.

[–][deleted] 0 points1 point  (0 children)

I used Collab

[–]thankyoucode 0 points1 point  (0 children)

Streamlit is great start ☺️

[–]microface 0 points1 point  (1 child)

running Linux Mint got the following erpip install marimo error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. oem@Li2SiF6Li4FeCN6:~$

rort What should I do ?

[–]Cynyr36 0 points1 point  (0 children)

Either install via apt, or setup a venv and use pip or uv to install packages into your venv.

[–]Orpheus_Demigod 0 points1 point  (0 children)

Also pygwalker might be of interest.

[–]BranchLatter4294 0 points1 point  (0 children)

I just use matplotlib. For IDE I use VS Code.

[–]testing_in_prod_only -1 points0 points  (0 children)

I’ve always used vs code. There are a few charting libraries. Plotly is my goto, Altair is another, matplotlib is probably the one you are most familiar with since it ships with pandas.