Examples of matplotlib codes and plots
Jupyter Notebook
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bugreport/boxplot_notch
images
ipynb move dendograms closer and set orientaion to left for new matplotlib ver Sep 1, 2016
.gitignore
LICENSE
README.md

README.md

matplotlib-gallery

This repository is a collection of different matplotlib plots in IPython notebooks that I needed for my data visualizations.

This project is not connected to the gallery on http://matplotlib.org/gallery.html, although there might be some overlap and redundancy.

To view the IPython notebooks, simply click on the header links or images.

Sections



I am looking forward to your contributions, suggestions, and ideas

If you have any suggestions or want to make additions, I would be very happy if you could send me

  • an email,
  • leave me a message on google+,
  • or even send me a tweet on twitter (given you can fit it within the 140 character limit ;)).

Or even better: It would be great if you would simply fork this project and send me a pull request.





2D histograms / heat maps / levelplots

[back to top]



[NBViewer][GitHub Rendering]





3D Plots

[back to top]



[NBViewer][GitHub Rendering]



Bar plots

[back to top]



[NBViewer][GitHub Rendering]



Boxplots and Violinplots

[back to top]



[NBViewer][GitHub Rendering]





Errorbar plots

[back to top]



[NBViewer][GitHub Rendering]





Formatting I: subplots, markers, colors, axes

[back to top]



[NBViewer][GitHub Rendering]





Formatting II: gridlines

[back to top]



[NBViewer][GitHub Rendering]





Formatting III: What it takes to become a legend

[back to top]



[NBViewer][GitHub Rendering]





Formatting IV: Style Sheets

[back to top]

[NBViewer][GitHub Rendering]



[NBViewer][GitHub Rendering]





Histograms

[back to top]



[NBViewer][GitHub Rendering]





Line plots

[back to top]



[NBViewer][GitHub Rendering]





Line plots

[back to top]



[NBViewer][GitHub Rendering]





Preparing Plots for Publication

[back to top]



[NBViewer][GitHub Rendering]





Scatter plots

[back to top]



[NBViewer][GitHub Rendering]





Special plots

[back to top]



[NBViewer][GitHub Rendering]





Clustering - Heatmaps and Dendrograms

[back to top]



[NBViewer][GitHub Rendering]





Tips and Tricks

[back to top]

[NBViewer][GitHub Rendering]