ggplot2, facet_grid, free scales?

前端 未结 4 1987
广开言路
广开言路 2020-11-27 18:11

In the following example, how do I get the y-axis limits to scale according to the data in each panel?

mt <- ggplot(mtcars, aes(mpg, wt, colour = factor(c         


        
4条回答
  •  孤独总比滥情好
    2020-11-27 18:53

    If you come looking for a python implementation, you need sharex=False, sharey=False.

    g = sns.FacetGrid(df,  row='row_col_name' col="col_col_name",sharex=False,sharey=False)
    

提交回复
热议问题