开发者

Is there a Python API for drawing diagrams (that use lines to connect corresponding values between two lists) [closed]

开发者 https://www.devze.com 2023-04-08 10:29 出处:网络
Closed. This question is seeking开发者_高级运维 recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking开发者_高级运维 recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

Given two lists, which contain same elements of string but in different orders, is there any API that can draw diagrams like

Is there a Python API for drawing diagrams (that use lines to connect corresponding values between two lists) [closed]

The diagram consists of two stacks of string. Between these two stacks, lines are used to link same elements between these two stacks.

Its outlook is similar as the visualization of sonar (an Eclipse code diff. tool), but the semantics of lines are different.

Does this kind of diagram have some formal name?


The general graph description format DOT seems the most appropriate to me: it is easy to describe a huge variety of graphs, with this (text) format, and you can plot them with one of the many tools available (Graphviz comes to mind, for example).

You also have the specialized python-graph module at your disposal (which can work with the DOT format too).


With python you have many options, see here for more. I would recommend matplotlib, take a look at this example.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号