4 ms·
Matplotlib is incredibly powerful for non-interactive visualisations, and I have yet to find another library that offers the same flexibility. Interactive visu
by earthnail 7y ago
Matplotlib is incredibly powerful for non-interactive visualisations, and I have yet to find another library that offers the same flexibility.
Interactive visualisations are often impractical. They don’t work in publications, presentations or documents. Generally speaking, visualisations that have everything clearly visible without requiring interaction are always superior to visualisations that require extra interactions.
I found that it always paid off to do some extra thinking on how to reshape my plots so they don’t need to be interactive. I had very few cases where I needed the plots to be interactive, and ironically, in these occasions only matplotlib worked for me. Those were cases where I wanted to show and play audio snippets that belonged to data points in a dimensionality reduction plot. It was quite hard to get matplotlib to do what I want, but I didn’t even get a anywhere near a result with plotly et al.
- nicolaskruchten 7y agoPlotly has very robust static image export capabilities, meaning you can create an interactive vis for yourself in a notebook, and embed it in an app if you like, and then use the same tools to create publication-ready export in SVG, EPS, PDF, PNG etc. Here is the relevant documentation: https://plot.ly/python/static-image-export/ https://plot.ly/python/static-image-export/