KnowledgeBoat Logo
|
LoginJOIN NOW

Informatics Practices

Assertion. For the same sets of data, you can create various charts using plot(), scatter(), pie(), bar() and barh().

Reason. All the data sets of a plot(), scatter(), bar() cannot be used by pie() ; it will work with only a single set of data.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.

PyPlot

2 Likes

Answer

A is false but R is true.

Explanation
We can create various charts using plot(), scatter(), bar(), and barh() for the same datasets, but not using pie(). The pie() function specifically works with a single set of data, whereas the other functions can handle multiple datasets or series.

Answered By

1 Like


Related Questions