title 参数好神奇!!

直接贴代码

title = 'Histogram of Both Conditions'
kind = 'hist'
alpha = 0.5
plot = stroop.plot(title=title, kind=kind, alpha=alpha, bins=12)
xLabel = plt.xlabel('Time (seconds)')
window = plt.axis([0,40,0,8])

【优达学城测评】matplotlib 作图中的title

x,y轴长度的限制可以写在一行代码里的!!great!

转载于:https://my.oschina.net/Bettyty/blog/754211

相关文章:

  • 2021-04-20
  • 2021-11-09
  • 2021-09-21
  • 2021-04-03
  • 2022-12-23
  • 2021-05-29
  • 2021-06-21
  • 2021-09-25
猜你喜欢
  • 2021-08-11
  • 2021-05-08
  • 2021-12-27
  • 2022-01-05
  • 2021-11-12
  • 2021-10-15
  • 2021-04-19
相关资源
相似解决方案