Skip to content

Commit

Permalink
Add new matplotlib notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
donnemartin committed Mar 13, 2017
1 parent 233b197 commit 1c34b46
Show file tree
Hide file tree
Showing 16 changed files with 8,777 additions and 0 deletions.
529 changes: 529 additions & 0 deletions matplotlib/04.00-Introduction-To-Matplotlib.ipynb

Large diffs are not rendered by default.

644 changes: 644 additions & 0 deletions matplotlib/04.01-Simple-Line-Plots.ipynb

Large diffs are not rendered by default.

355 changes: 355 additions & 0 deletions matplotlib/04.02-Simple-Scatter-Plots.ipynb

Large diffs are not rendered by default.

256 changes: 256 additions & 0 deletions matplotlib/04.03-Errorbars.ipynb

Large diffs are not rendered by default.

328 changes: 328 additions & 0 deletions matplotlib/04.04-Density-and-Contour-Plots.ipynb

Large diffs are not rendered by default.

393 changes: 393 additions & 0 deletions matplotlib/04.05-Histograms-and-Binnings.ipynb

Large diffs are not rendered by default.

435 changes: 435 additions & 0 deletions matplotlib/04.06-Customizing-Legends.ipynb

Large diffs are not rendered by default.

569 changes: 569 additions & 0 deletions matplotlib/04.07-Customizing-Colorbars.ipynb

Large diffs are not rendered by default.

436 changes: 436 additions & 0 deletions matplotlib/04.08-Multiple-Subplots.ipynb

Large diffs are not rendered by default.

443 changes: 443 additions & 0 deletions matplotlib/04.09-Text-and-Annotation.ipynb

Large diffs are not rendered by default.

505 changes: 505 additions & 0 deletions matplotlib/04.10-Customizing-Ticks.ipynb

Large diffs are not rendered by default.

650 changes: 650 additions & 0 deletions matplotlib/04.11-Settings-and-Stylesheets.ipynb

Large diffs are not rendered by default.

600 changes: 600 additions & 0 deletions matplotlib/04.12-Three-Dimensional-Plotting.ipynb

Large diffs are not rendered by default.

746 changes: 746 additions & 0 deletions matplotlib/04.13-Geographic-Data-With-Basemap.ipynb

Large diffs are not rendered by default.

1,794 changes: 1,794 additions & 0 deletions matplotlib/04.14-Visualization-With-Seaborn.ipynb

Large diffs are not rendered by default.

94 changes: 94 additions & 0 deletions matplotlib/04.15-Further-Resources.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!--BOOK_INFORMATION-->\n",
"<img align=\"left\" style=\"padding-right:10px;\" src=\"figures/PDSH-cover-small.png\">\n",
"*This notebook contains an excerpt from the [Python Data Science Handbook](http://shop.oreilly.com/product/0636920034919.do) by Jake VanderPlas; the content is available [on GitHub](https://github.com/jakevdp/PythonDataScienceHandbook).*\n",
"\n",
"*The text is released under the [CC-BY-NC-ND license](https://creativecommons.org/licenses/by-nc-nd/3.0/us/legalcode), and code is released under the [MIT license](https://opensource.org/licenses/MIT). If you find this content useful, please consider supporting the work by [buying the book](http://shop.oreilly.com/product/0636920034919.do)!*\n",
"\n",
"*No changes were made to the contents of this notebook from the original.*"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!--NAVIGATION-->\n",
"< [Visualization with Seaborn](04.14-Visualization-With-Seaborn.ipynb) | [Contents](Index.ipynb) | [Machine Learning](05.00-Machine-Learning.ipynb) >"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Further Resources"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Matplotlib Resources\n",
"\n",
"A single chapter in a book can never hope to cover all the available features and plot types available in Matplotlib.\n",
"As with other packages we've seen, liberal use of IPython's tab-completion and help functions (see [Help and Documentation in IPython](01.01-Help-And-Documentation.ipynb)) can be very helpful when exploring Matplotlib's API.\n",
"In addition, Matplotlib’s [online documentation](http://matplotlib.org/) can be a helpful reference.\n",
"See in particular the [Matplotlib gallery](http://matplotlib.org/gallery.html) linked on that page: it shows thumbnails of hundreds of different plot types, each one linked to a page with the Python code snippet used to generate it.\n",
"In this way, you can visually inspect and learn about a wide range of different plotting styles and visualization techniques.\n",
"\n",
"For a book-length treatment of Matplotlib, I would recommend [*Interactive Applications Using Matplotlib*](https://www.packtpub.com/application-development/interactive-applications-using-matplotlib), written by Matplotlib core developer Ben Root."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Other Python Graphics Libraries\n",
"\n",
"Although Matplotlib is the most prominent Python visualization library, there are other more modern tools that are worth exploring as well.\n",
"I'll mention a few of them briefly here:\n",
"\n",
"- [Bokeh](http://bokeh.pydata.org) is a JavaScript visualization library with a Python frontend that creates highly interactive visualizations capable of handling very large and/or streaming datasets. The Python front-end outputs a JSON data structure that can be interpreted by the Bokeh JS engine.\n",
"- [Plotly](http://plot.ly) is the eponymous open source product of the Plotly company, and is similar in spirit to Bokeh. Because Plotly is the main product of a startup, it is receiving a high level of development effort. Use of the library is entirely free.\n",
"- [Vispy](http://vispy.org/) is an actively developed project focused on dynamic visualizations of very large datasets. Because it is built to target OpenGL and make use of efficient graphics processors in your computer, it is able to render some quite large and stunning visualizations.\n",
"- [Vega](https://vega.github.io/) and [Vega-Lite](https://vega.github.io/vega-lite) are declarative graphics representations, and are the product of years of research into the fundamental language of data visualization. The reference rendering implementation is JavaScript, but the API is language agnostic. There is a Python API under development in the [Altair](https://altair-viz.github.io/) package. Though as of summer 2016 it's not yet fully mature, I'm quite excited for the possibilities of this project to provide a common reference point for visualization in Python and other languages.\n",
"\n",
"The visualization space in the Python community is very dynamic, and I fully expect this list to be out of date as soon as it is published.\n",
"Keep an eye out for what's coming in the future!"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!--NAVIGATION-->\n",
"< [Visualization with Seaborn](04.14-Visualization-With-Seaborn.ipynb) | [Contents](Index.ipynb) | [Machine Learning](05.00-Machine-Learning.ipynb) >"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

0 comments on commit 1c34b46

Please sign in to comment.