Skip to content

Matplotlib The Figure is the overall window or page that everything is drawn on. It’s the top-level component of all. To the figure you add Axes. The Axes is the area on which the data is plotted. A figure can have multiple axes. Note: when you see, for example, plt.xlim, you’ll call ax.set_xlim() behind the covers. All methods of an Axes object…

Notifications You must be signed in to change notification settings

MoinDalvs/Learn_Visualization_on_Matplotlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Learn_Visualization_on_Matplotlib

Matplotlib

  • The Figure is the overall window or page that everything is drawn on.
  • It’s the top-level component of all. To the figure you add Axes.
  • The Axes is the area on which the data is plotted.
  • A figure can have multiple axes. Note: when you see, for example, plt.xlim, you’ll call ax.set_xlim() behind the covers.
  • All methods of an Axes object exist as a function in the pyplot module and vice versa. Mostly, you’ll use the functions of the pyplot module because they’re much cleaner, at least for simple plots!

Method I

Method II

  • When you want to control individual elements
  • Example
  • ax.set_xlabel('Some Label', size=25)
  • Using the pyplot methods

Sub Plots

Categorical Vs Numeric

  • Bar Chart
  • Horizontal Bar Chart
  • Pie Chart

Input Data: Univariate (1D Series)

  • Histogram
  • BoxPlot

Input Data: Bivariate (2D Series)

About

Matplotlib The Figure is the overall window or page that everything is drawn on. It’s the top-level component of all. To the figure you add Axes. The Axes is the area on which the data is plotted. A figure can have multiple axes. Note: when you see, for example, plt.xlim, you’ll call ax.set_xlim() behind the covers. All methods of an Axes object…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published