Waterfall plot python?

后端 未结 4 1410
独厮守ぢ
独厮守ぢ 2020-12-05 05:23

Is there a python module that will do a waterfall plot like MATLAB does? I googled \'numpy waterfall\', \'scipy waterfall\', and \'matplotlib waterfall\', but did not find a

4条回答
  •  被撕碎了的回忆
    2020-12-05 05:47

    You can do a waterfall in matplotlib using the PolyCollection class. See this specific example to have more details on how to do a waterfall using this class.

    Also, you might find this blog post useful, since the author shows that you might obtain some 'visual bug' in some specific situation (depending on the view angle chosen).

    Below is an example of a waterfall made with matplotlib (image from the blog post):
    (source: austringer.net)

提交回复
热议问题