dgrtwo / gleam

Creating interactive visualizations with Python
MIT License
255 stars 44 forks source link

Using Gleam with Python 3, plotnine #6

Open welsberr opened 1 year ago

welsberr commented 1 year ago

I was interested in the description of Gleam, but disappointed that the project seems to have been left at a Python 2 implementation.

I made a fairly small number of changes to get Gleam to work with Python 3.8, at least such that most features of the 'baseball.py' example program work. ('Show names' does not work, though.) I had to replace references to 'ggplot' with 'plotnine', which made a few other changes necessary.

I have provided my 'git diff' showing those changes. gleam-py3-diff.txt

vnijs commented 1 year ago

Not a lot of activity on this repo recently. Have you looked at the options below?

https://shiny.rstudio.com/py/ https://streamlit.io/

dgrtwo commented 1 year ago

Hello! This was a hackathon project from ~a decade ago that isn't being maintained

You're welcome to fork it but I would also recommend a tool like Shiny for Python instead! 😄

welsberr commented 1 year ago

I had seen the announcement for Shiny for Python a while back, but hadn't checked it recently. Thanks for the reminder.

It looks like there are examples of use of Seaborn with both of those packages. Options are good.