making matplotlib graphs look like R by default?

后端 未结 8 1742
自闭症患者
自闭症患者 2021-01-29 23:02

Is there a way to make matplotlib behave identically to R, or almost like R, in terms of plotting defaults? For example R treats its axes pretty differently from

8条回答
  •  暖寄归人
    2021-01-29 23:36

    import matplotlib.pyplot as plt plt.style.use('ggplot')

    do something plot here, and enjoy it

提交回复
热议问题