pandas / matplotlib: faceting bar plots

前端 未结 3 2164
故里飘歌
故里飘歌 2021-02-09 20:25

I am making a series of bar plots of data with two categorical variables and one numeric. What i have is the below, but what I would love to do is to facet by one of the categor

3条回答
  •  别那么骄傲
    2021-02-09 20:53

    The Seaborn library, which is built on Matplotlib and could be considered a superset of it, has flexible and powerful plotting options for facet plots--they even use similar terminology to R. Scroll down on this page for multiple examples.

提交回复
热议问题