geom_bar bars not displaying when specifying ylim

后端 未结 3 1975
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 05:15

I\'m having a problem with geom_bars wherein the bars are not rendered when I specify limits on the y-axis. I believe the following should reproduce the problem:

         


        
3条回答
  •  忘掉有多难
    2020-11-29 05:53

    This worked for me based on the link shared previously.

    p + coord_cartesian(ylim=c(5,15))
    

提交回复
热议问题