Compare commits
No commits in common. "6ff728b21f0287f426e1cbdfc19e57fb5e37aa36" and "f82700765791220069db279a0607d85ad6e65152" have entirely different histories.
6ff728b21f
...
f827007657
9
main.py
9
main.py
@ -333,13 +333,10 @@ class MyPlugin(Star):
|
||||
day.append(date[i][0])
|
||||
volume.append(date[i][1])
|
||||
plt.plot(day, volume)
|
||||
plt.title('dayvolume')
|
||||
plt.xlabel('day')
|
||||
plt.ylabel('volume')
|
||||
plt.title('日产量')
|
||||
plt.xlabel('日期')
|
||||
plt.ylabel('日产量')
|
||||
plt.xticks(day)
|
||||
#设置显示数据
|
||||
for x, y in zip(day, volume):
|
||||
plt.text(x, y, f'{y}', ha='center', va='bottom', fontsize=10)
|
||||
plt.grid()
|
||||
plt.savefig('dayvolume.png')
|
||||
plt.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user