简体   繁体   English

在 python matplotlib.pyplot 上出现语法错误

[英]Getting syntax error on python matplotlib.pyplot

**I'm trying to use the xlabel function and it keeps giving me this error **我正在尝试使用 xlabel function 并且它一直给我这个错误

** **

enter image description here在此处输入图像描述

The bracket for plt.title() is not closed in the previous line -- the one before plt.xlabel() . plt.title()的括号在前一行中没有闭合—— plt.xlabel()之前的那个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM