Talk about why you choose the new version 1.x of pyecharts instead of the old version 0.5.x?

Version comparison:

0.5.x :

  • The 0.5.x version is no longer maintained.
  • The python version supported by the 0.5.x version and the dependent package version are relatively old. (Only support Python2.7, 3.4+)
  • The 0.5.x version of the visualization chart is too few to meet the needs of visualization work.
  • The 0.5.x version is relatively stable, because no one maintains it, so no new bugs will be introduced.
  • The 0.5.x version supports few platforms. (For example, Tornado is not supported)
  • 0.5.x only supports function calls, which is very easy to use.

1.x version:

  • The 1.x version is still being maintained.
  • The python version and dependency package version supported by the 1.x version are newer. (Only supports Python 3.6+)
  • The 1.x version has rich visual charts and rich functions.
  • The latest version of 1.x is not very stable, but it is maintained by the development team.
  • The 1.x version supports many platforms, almost involving most popular web frameworks in python.
  • 1.x version not only supports function call style code writing, but also supports chain call. If you are not used to chain calls, you can use function calls.
    Compared with the 0.5x version, the -1.x version has changed a lot, and the chart API has changed. It will take some time to parse the source code and master the usage routines of the chart API based on official examples. Therefore, people who are not familiar with the new version have certain difficulties to get started. (All beginnings are hard)

In summary, this is my current rational analysis of these two versions.
If you are a novice just getting started and are anxious for visualization, it is recommended to use the 0.5x version; if you are not anxious for visualization, it is recommended to study the 1.x version.
After learning the 1.x version, you will probably master the 0.5x version. Although the two versions are very different, the chart API of the 1.x version is very inconsistent.

Guess you like

Origin blog.csdn.net/qq_42658739/article/details/105313300