Are there any plans to support plotnine’s ggplot.
TIA.
Are there any plans to support plotnine’s ggplot.
TIA.
Hi @farbodr, welcome to the Streamlit community!
It’s a little awkward, based on how plotnine has defined their drawing behavior, but it does work in Streamlit (as we support matplotlib):
import streamlit as st
from plotnine import *
from plotnine.data import mtcars
p = ggplot(mtcars, aes("wt", "mpg")) + geom_point()
st.pyplot(ggplot.draw(p))
Thank you. This is great and good enough for what I need.
FR