Skip to main contentSkip to solution

The _________ is used to represent the data values in the line chart and is also a parameter of the plot() function.

Solution

✅ Correct Option: 1

In Matplotlib, the marker parameter of plot() draws a symbol (such as 'o', '*' or '+') at each data point, so the individual data values are visible on the line. For example, plt.plot(x, y, marker='o').


Option 2: kind selects the type of chart (line, bar, etc.) in pandas' plot(). It does not mark data values.

Option 3: loc sets the position of the legend, in legend().

Option 4: title sets the heading of the chart and does not mark data values.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question