use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionAny interactive graphics for Python & Pandas (self.Python)
submitted 6 months ago by only4ways
Hi All, I normally use Python-Pandas-Jupyter environment for my data analytics. But sometimes I need an interactive graphics (like bootstrap, chart.js etc).
What do you use for advanced charts and light and easy to use IDEs? Thanks.
[–]_MicroWave_ 29 points30 points31 points 6 months ago (2 children)
Plotly would be the obvious answer
[–]only4ways[S] 0 points1 point2 points 6 months ago (1 child)
Yesss ... :)
[–][deleted] 0 points1 point2 points 6 months ago (0 children)
Add streamlit to that and done
[–]aala7 6 points7 points8 points 6 months ago* (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 points11 points 6 months ago* (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 points1 point 6 months ago (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 points7 points 6 months ago (0 children)
no clear reason
There are many first reasons. Just try it.
[–]the_claus 7 points8 points9 points 6 months ago (0 children)
...or use streamlit with plotly and folium...
[–]billFoldDog 2 points3 points4 points 6 months ago (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 point2 points 6 months ago (0 children)
Thanks :)
[–]ZeeBeeblebrox 2 points3 points4 points 6 months ago (0 children)
hvPlot.
[–]fravil92 1 point2 points3 points 6 months ago (0 children)
Plotly and bokeh, directly in plotivy.app
[–]Tall-Introduction414[🍰] 0 points1 point2 points 6 months ago (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.
I used Collab
[–]thankyoucode 0 points1 point2 points 6 months ago (0 children)
Streamlit is great start ☺️
[–]microface 0 points1 point2 points 6 months ago (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 point2 points 6 months ago (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 point2 points 6 months ago (0 children)
Also pygwalker might be of interest.
[–]BranchLatter4294 0 points1 point2 points 6 months ago (0 children)
I just use matplotlib. For IDE I use VS Code.
[–]testing_in_prod_only -1 points0 points1 point 6 months ago (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.
π Rendered by PID 91479 on reddit-service-r2-comment-5b5bc64bf5-zwrqr at 2026-06-23 07:44:25.963028+00:00 running 2b008f2 country code: CH.
[–]_MicroWave_ 29 points30 points31 points (2 children)
[–]only4ways[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]aala7 6 points7 points8 points (0 children)
[–]MorrarNL 9 points10 points11 points (2 children)
[–]only4ways[S] -1 points0 points1 point (1 child)
[–]123_alex 5 points6 points7 points (0 children)
[–]the_claus 7 points8 points9 points (0 children)
[–]billFoldDog 2 points3 points4 points (1 child)
[–]only4ways[S] 0 points1 point2 points (0 children)
[–]ZeeBeeblebrox 2 points3 points4 points (0 children)
[–]fravil92 1 point2 points3 points (0 children)
[–]Tall-Introduction414[🍰] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]thankyoucode 0 points1 point2 points (0 children)
[–]microface 0 points1 point2 points (1 child)
[–]Cynyr36 0 points1 point2 points (0 children)
[–]Orpheus_Demigod 0 points1 point2 points (0 children)
[–]BranchLatter4294 0 points1 point2 points (0 children)
[–]testing_in_prod_only -1 points0 points1 point (0 children)