{"id":13500905,"url":"https://github.com/rasbt/matplotlib-gallery","last_synced_at":"2025-05-16T11:04:14.518Z","repository":{"id":13503893,"uuid":"16194739","full_name":"rasbt/matplotlib-gallery","owner":"rasbt","description":"Examples of matplotlib codes and plots","archived":false,"fork":false,"pushed_at":"2020-10-01T10:33:31.000Z","size":20296,"stargazers_count":1199,"open_issues_count":1,"forks_count":301,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-04-09T06:07:46.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasbt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-24T04:13:52.000Z","updated_at":"2025-04-08T00:55:33.000Z","dependencies_parsed_at":"2022-08-07T07:15:26.085Z","dependency_job_id":null,"html_url":"https://github.com/rasbt/matplotlib-gallery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasbt%2Fmatplotlib-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasbt%2Fmatplotlib-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasbt%2Fmatplotlib-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasbt%2Fmatplotlib-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasbt","download_url":"https://codeload.github.com/rasbt/matplotlib-gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518384,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:01:18.706Z","updated_at":"2025-05-16T11:04:14.501Z","avatar_url":"https://github.com/rasbt.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# matplotlib-gallery\n\nThis repository is a collection of different `matplotlib` plots in IPython notebooks that I needed for my data visualizations.\n\nThis project is not connected to the gallery on [http://matplotlib.org/gallery.html](http://matplotlib.org/gallery.html), although there might be some overlap and redundancy.\n\n**To view the IPython notebooks, simply click on the header links or images.**\n\n### Sections\n\n- [2D histograms / heat maps / levelplots](#2d-histograms--heat-maps--levelplots)\n- [3D Plots](#3d-plots)\n- [Bar plots](#bar-plots)\n- [Boxplots and Violinplots](#boxplots-and-violinplots)\n- [Errorbar plots](#errorbar-plots)\n- [Formatting I: subplots, markers, colors, axes](#formatting-i-subplots-markers-colors-axes)\n- [Formatting II: gridlines](#formatting-ii-gridlines)\n- [Formatting III: legends](#formatting-iii-what-it-takes-to-become-a-legend)\n- [Formatting IV: style sheets](#formatting-iv-style-sheets)\n- [Histograms](#histograms)\n- [Line plots](#line-plots)\n- [Preparing Plots for Publication](#preparing-plots-for-publication)\n- [Scatter plots](#scatter-plots)\n- [Special plots](#special-plots)\n- [Clustering - Heatmaps and Dendrograms](#clustering---heatmaps-and-dendrograms)\n- [Tips and Tricks](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/tricks.ipynb)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n#### I am looking forward to your contributions, suggestions, and ideas\n\nIf you have any suggestions or want to make additions, I would be very happy if you could send me  \n\n- an [email](mailto:se.raschka@gmail.com),  \n- leave me a message on [google+](https://plus.google.com/u/0/+SebastianRaschka),\n- or even send me a tweet on [twitter](https://twitter.com/rasbt) (given you can fit it within the 140 character limit ;)).  \n\nOr even better: It would be great if you would simply fork this project and send me a pull request.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [2D histograms / heat maps / levelplots](./ipynb/heatmaps.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/heatmaps.ipynb'\u003e![](./images/heatmaps.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/heatmaps.ipynb)][[GitHub Rendering](./ipynb/heatmaps.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [3D Plots](./ipynb/3dplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/3dplots.ipynb'\u003e![](./images/3dplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/3dplots.ipynb)][[GitHub Rendering](./ipynb/3dplots.ipynb)]\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [Bar plots](./ipynb/barplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/barplots.ipynb'\u003e![](./images/barplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/barplots.ipynb)][[GitHub Rendering](./ipynb/barplots.ipynb)]\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Boxplots and Violinplots](./ipynb/boxplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/boxplots.ipynb'\u003e![](./images/boxplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/boxplots.ipynb)][[GitHub Rendering](./ipynb/boxplots.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Errorbar plots](./ipynb/errorbars.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/errorbars.ipynb'\u003e![](./images/errorbars.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/errorbars.ipynb)][[GitHub Rendering](./ipynb/errorbars.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [Formatting I: subplots, markers, colors, axes](./ipynb/formatting_1.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/formatting_1.ipynb'\u003e![](./images/formatting_1.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/formatting_1.ipynb)][[GitHub Rendering](./ipynb/formatting_1.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Formatting II: gridlines](./ipynb/formatting_2.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/formatting_2.ipynb'\u003e![](./images/formatting_2.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/formatting_2.ipynb)][[GitHub Rendering](./ipynb/formatting_2.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Formatting III: What it takes to become a legend](./ipynb/formatting_3.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/formatting_3.ipynb'\u003e![](./images/formatting_3.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/formatting_3.ipynb)][[GitHub Rendering](./ipynb/formatting_3.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Formatting IV: Style Sheets](./ipynb/formatting_4.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003ca href='./ipynb/formatting_4.ipynb'\u003e![](./images/formatting_4.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/formatting_4.ipynb)][[GitHub Rendering](./ipynb/formatting_4.ipynb)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/formatting_3.ipynb'\u003e![](./images/formatting_3.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/formatting_3.ipynb)][[GitHub Rendering](./ipynb/formatting_3.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [Histograms](./ipynb/histograms.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/histograms.ipynb'\u003e![](./images/histograms.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/histograms.ipynb)][[GitHub Rendering](./ipynb/histograms.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [Line plots](./ipynb/lineplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/lineplots.ipynb'\u003e![](./images/lineplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/lineplots.ipynb)][[GitHub Rendering](./ipynb/lineplots.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## [Line plots](./ipynb/lineplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/lineplots.ipynb'\u003e![](./images/lineplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/lineplots.ipynb)][[GitHub Rendering](./ipynb/lineplots.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n\n## [Preparing Plots for Publication](./ipynb/publication.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/publication.ipynb'\u003e![](./images/publication.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/publication.ipynb)][[GitHub Rendering](./ipynb/publication.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Scatter plots](./ipynb/scatterplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/scatterplots.ipynb'\u003e![](./images/scatterplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/scatterplots.ipynb)][[GitHub Rendering](./ipynb/scatterplots.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## [Special plots](./ipynb/specialplots.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/specialplots.ipynb'\u003e![](./images/specialplots.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/specialplots.ipynb)][[GitHub Rendering](./ipynb/specialplots.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n\n\n## [Clustering - Heatmaps and Dendrograms](./ipynb/clust_complete_linkage.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003ca href='./ipynb/clust_complete_linkage.ipynb'\u003e![](./images/heat_dendro.png)\u003c/a\u003e\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/clust_complete_linkage.ipynb)][[GitHub Rendering](./ipynb/clust_complete_linkage.ipynb)]\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n\n## [Tips and Tricks](./ipynb/tricks.ipynb)\n\n[[back to top](https://github.com/rasbt/matplotlib-gallery#matplotlib-gallery)]\n\n[[NBViewer](http://nbviewer.ipython.org/github/rasbt/matplotlib-gallery/blob/master/ipynb/tricks.ipynb)][[GitHub Rendering](./ipynb/tricks.ipynb)]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasbt%2Fmatplotlib-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasbt%2Fmatplotlib-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasbt%2Fmatplotlib-gallery/lists"}