66893/attributeerror-module-matplotlib-has-no-attribute-scatter
Hi Guys,
I have my Machine Learning model. I want to draw one scatter plot using matplotlib module, but I am getting this bellow error.
AttributeError: module 'matplotlib' has no attribute 'scatter'
How can I solve this?
Hi@akhtar,
To avoid this error, make sure you have matplotlib module install in your system. To install, use the below given command.
$ pip install matplotlib $ from matplotlib.pyplot import plt $ plt.scatter()
Hope this will help You.
Hi@MD, LBPHFaceRecognizer module comes from a package named ...READ MORE
Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE
Hi@akhtar, There was an environment issue, tensorflow was ...READ MORE
Hi@akhtar, In Tensorflow 2.0, there is no placeholder. ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
Hi@Usman, It seems you are using an older ...READ MORE
Hi@akhtar, There may be problem in the versions. ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.