--- sidebarDepth: 3 sidebar: auto --- # Gallery This gallery contains examples of the many things you can do with Matplotlib. Click on any image to see the full image and source code. For longer tutorials, see our [tutorials page](https://pandas.pydata.org/pandas-docs/stable/tutorials/index.html). You can also find [external resources](https://pandas.pydata.org/pandas-docs/stable/resources/index.html) and a [FAQ](https://pandas.pydata.org/pandas-docs/stable/faq/index.html) in our [user guide](https://pandas.pydata.org/pandas-docs/stable/contents.html). ## Lines, bars and markers ## Images, contours and fields ## Subplots, axes and figures ## Statistics ## Pie and polar charts ## Text, labels and annotations ## Pyplot ## Color For more in-depth information about the colormaps available in matplotlib as well as a description of their properties, see the colormaps tutorial. ## Shapes and collections ## Style sheets ## Axes Grid ## Axis Artist ## Showcase ## Animation ## Event handling Matplotlib supports event handling with a GUI neutral event model, so you can connect to Matplotlib events without knowledge of what user interface Matplotlib will ultimately be plugged in to. This has two advantages: the code you write will be more portable, and Matplotlib events are aware of things like data coordinate space and which axes the event occurs in so you don't have to mess with low level transformation details to go from canvas space to data space. Object picking examples are also included. ## Front Page ## Miscellaneous ## 3D plotting ## Our Favorite Recipes Here is a collection of short tutorials, examples and code snippets that illustrate some of the useful idioms and tricks to make snazzier figures and overcome some matplotlib warts. ## Scales These examples cover how different scales are handled in Matplotlib. ## Specialty Plots ## Ticks and spines ## Units These examples cover the many representations of units in Matplotlib. ## Embedding Matplotlib in graphical user interfaces You can embed Matplotlib directly into a user interface application by following the embedding_in_SOMEGUI.py examples here. Currently matplotlib supports wxpython, pygtk, tkinter and pyqt4/5. ## Userdemo ## Widgets Examples of how to write primitive, but GUI agnostic, widgets in matplotlib