rasbt/matplotlib-gallery

Examples of matplotlib codes and plots

Jupyter Notebook

1,214

123 commits

updated Oct 1, 2020

See the code

README

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]







rasbt/matplotlib-gallery

Examples of matplotlib codes and plots

Jupyter Notebook

1,214

123 commits

updated Oct 1, 2020

See the code

README

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]







Significant stargazers

Matthias Geier

239 followers · starred Sep 2015

Alex Petrov

446 followers · starred Feb 2016

Kyusong Lee

37 followers · starred Nov 2019

Zichen Wen

67 followers · starred May 2025