Hacker News new | past | comments | ask | show | jobs | submit login

I'd love to hear more about what you found fussy in terms of shape of data... I've worked really hard to make Plotly Express as flexible as possible in terms of input formats (https://plotly.com/python/px-arguments/) and Graph Objects will eat pretty much anything list-like :)



Hey, thanks for the response - it was actually exactly what you seem to have addressed re the wide & long formats. I'm still using v4.1 and ended up writing my own reshapeForPlotly() function which just called the pandas melt function. Will update to v5 now which sounds like it will simplify things.

I think Plotly is great, btw! I use it a lot with streamlit for quick visualisations of big datasets. Thanks for your work on it. I always found the relationship between plotlyexpress & graph_objects confusing but the docs seem much more explanatory now than I remember from a year or so ago and the code snippets on the main plotly site seem much more abundant. Hopefully as it gets more widely used, the community support on stackoverflow etc will build too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: