Lots of people use Python for data-analysis, be that machine learning or just basic number-crunching. As with any investigation, it is important to succinctly summarise both the data and the findings — graphs are perfect for this. Up until now, Matplotlib has been the de-facto standard in plotting graphs with Python, but there’s a new open-source library that I think you should definitely be using: Plotly.
Anything You Can Do, I Can Do Better Don’t get me wrong, Matplotlib is great. It easily integrates with most Python data tools and (once tweaked a bit) can look pretty good too. However, when use-cases increase in complexity to animations, interactivity and more complicated diagrams, Matplotlib isn’t the best tool for the job. Even its website admits to this: 链接地址:https://medium.com/swlh/forget-matplotlib-you-should-be-using-plotly-ada76b650ff4