Matplotlib.pyplot.get_plot_commands() in Python Last Updated : 10 May, 2020 Comments Improve Suggest changes Like Article Like Report Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, etc. matplotlib.pyplot.get_plot_commands() method The get_plot_commands() method in pyplot module of matplotlib library is used to get the sorted list of all of the plotting commands. Syntax: matplotlib.pyplot.get_plot_commands() Parameters: This method does not accept any parameters. Returns: This method returns sorted list of all of the plotting commands. Below examples illustrate the matplotlib.pyplot.get_plot_commands() function in matplotlib.pyplot: Example: Python3 1== # Implementation of matplotlib function import numpy as np import matplotlib.pyplot as plt w = plt.get_plot_commands() print("List of all of the plotting commands : ") for i in w: print(i) Output: List of all of the plotting commands : acorr angle_spectrum annotate arrow autoscale axes axhline axhspan axis axvline axvspan bar barbs barh box boxplot broken_barh cla clabel clf clim close cohere colorbar contour contourf csd delaxes draw errorbar eventplot figimage figlegend fignum_exists figtext figure fill fill_between fill_betweenx findobj gca gcf gci get_figlabels get_fignums grid hexbin hist hist2d hlines imread imsave imshow install_repl_displayhook ioff ion isinteractive legend locator_params loglog magnitude_spectrum margins matshow minorticks_off minorticks_on pause pcolor pcolormesh phase_spectrum pie plot plot_date plotfile polar psd quiver quiverkey rc rc_context rcdefaults rgrids savefig sca scatter sci semilogx semilogy set_cmap setp show specgram spy stackplot stem step streamplot subplot subplot2grid subplot_tool subplots subplots_adjust suptitle switch_backend table text thetagrids tick_params ticklabel_format tight_layout title tricontour tricontourf tripcolor triplot twinx twiny uninstall_repl_displayhook violinplot vlines xcorr xkcd xlabel xlim xscale xticks ylabel ylim yscale yticks Comment More infoAdvertise with us Next Article Matplotlib.pyplot.get_plot_commands() in Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python Python-matplotlib Matplotlib Pyplot-class Practice Tags : python Similar Reads Matplotlib.pyplot.plot() function in Python The matplotlib.pyplot.plot() is used to create 2D plots such as line graphs and scatter plots. The plot() function allows us to plot data points, customize line styles, markers and colors making it useful for various types of visualizations. In this article, we'll see how to use this function to plo 3 min read Matplotlib.pyplot.connect() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. matplotlib.pyplot.connect() Function This method is used to connect an event with string s to a function. 3 min read Matplotlib.pyplot.get_fignums() in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, 2 min read Matplotlib.pyplot.bone() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, 2 min read Matplotlib.pyplot.rc_context() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, 2 min read Matplotlib.pyplot.get_figlabels() in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, 2 min read Matplotlib.pyplot.gca() in Python Matplotlib is a library in Python and it is a numerical - mathematical extension for the NumPy library. Pyplot is a state-based interface to a Matplotlib module that provides a MATLAB-like interface.  matplotlib.pyplot.gca() Function The gca() function in pyplot module of matplotlib library is used 2 min read Matplotlib.pyplot.cla() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module which provides a MATLAB-like interface. There are various plots which can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, 1 min read Matplotlib.pyplot.plotfile() in Python With the help of pyplot.plotfile() method, we can plot the graph directly from the given csv file, we don't have to make a separate dataframe for a particular attribute by using pyplot.plotfile() method. Syntax : pyplot.plotfile(datafile, (attr1, attr2, .....attrn)) Return : Return the plot of attri 1 min read Matplotlib.pyplot.axis() in Python axis() function in Matplotlib is used to get or set properties of the x- and y-axis in a plot. It provides control over axis limits, aspect ratio and visibility, allowing customization of the plotâs coordinate system and view. It's key feature includes:Gets or sets the axis limits [xmin, xmax, ymin, 3 min read Like