pandas / matplotlib: faceting bar plots

前端 未结 3 1130
[愿得一人]
[愿得一人] 2021-02-09 20:47

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:50

    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.

提交回复
热议问题