Which parameter(s) is used to define the color of the points in a scatter plot?

26. Which parameter(s) is used to define the color of the points in a scatter plot?

  1. color
  2. c
  3. Both A and B
  4. None of the above

Answer: C) Both A and B

Explanation:

The color and its shorter c both can be used to define the color of the points in a scatter plot.

plt.scatter(x, y, color = 'Blue')

Where x and y can be the NumPy arrays.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.