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
-
What specifically has caused you to be confused?BigBen– BigBen2022-02-03 18:13:45 +00:00Commented 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 differRishab Patil– Rishab Patil2022-02-03 18:25:33 +00:00Commented Feb 3, 2022 at 18:25
-
2I'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.BigBen– BigBen2022-02-03 18:27:43 +00:00Commented Feb 3, 2022 at 18:27
Add a comment
|