更新 q4_2/sandian.py
This commit is contained in:
@@ -20,6 +20,7 @@ plt.title('时长与评分关系散点图', fontsize=14)
|
|||||||
plt.xlabel('时长', fontsize=12)
|
plt.xlabel('时长', fontsize=12)
|
||||||
plt.ylabel('评分', fontsize=12)
|
plt.ylabel('评分', fontsize=12)
|
||||||
plt.grid(True, linestyle='--', alpha=0.5)
|
plt.grid(True, linestyle='--', alpha=0.5)
|
||||||
plt.show()
|
|
||||||
plt.savefig("q4_2_scatter.png",dpi=150,format='png')
|
plt.savefig("q4_2_scatter.png",dpi=150,format='png')
|
||||||
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user