0

When setting parameters for a table using matplotlib, what is the difference between these two naming functions. I initially thought plt.xlabel was used for functional naming and .set_xlabel was used for object oriented naming but Im now confused

3
  • What specifically has caused you to be confused? Commented Feb 3, 2022 at 18:13
  • When is each one used. For example, is .set_xlabel used only for data frame objects? What are the use cases of each and how do they differ Commented Feb 3, 2022 at 18:25
  • 2
    I'm not sure why you're asking about dataframes (pandas is not matplotlib), but it might help to read about the Pyplot vs. Object-Oriented interface. Commented Feb 3, 2022 at 18:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.