Verified Commit f1c11ca3 authored by Renato Alves's avatar Renato Alves 🌱
Browse files

Add where to go next section

parent d67e57e9
......@@ -60,6 +60,7 @@ Other plotting frameworks include:
* [`altair`][altair-home] - a Python interface to the popular [vega-lite][vega-lite] JavaScript framework
* [`plotly`][plotly-home] - a versatile, interactive library by the company with the same name
* [`plotnine`][plotnine-home] - [`ggplot`][ggplot] for Python
* [`folium`][folium] - a toolkit for handling topographical data
## Getting Started with `matplotlib`
......@@ -901,8 +902,43 @@ it is assumed that string values like these will refer to columns inside the
{: .callout }
# Where to go from here
## The matplotlib gallery
## stackoverflow
## The Matplotlib Gallery
The [gallery of plots](matplotlib-gallery) is one of the most useful resources in the
overwhelmingly large `matplotlib` documentation (the [complete documentation PDF](https://matplotlib.org/Matplotlib.pdf) is a whooping 2767 pages long!!!).
The gallery provides an excellent reference for examples and code from where one can gather
bits and pieces in order to assemble our dream plot.
You may find that the code tends ot get rather verbose the more complex the plot gets.
This is the price to pay for matplotlib's flexibility.
## Pandas documentation
For `pandas` specific guidance you will find the [pandas visualization documentation][pd-viz]
and the [pandas plotting cookbook][pd-cook-plot] the most useful.
These pages provide a `pandas` centric way of producing plots.
Although many of the functions return `matplotlib` objects, you may find that `pandas`
implemented its own convenient functions, better suited to the dataframe way of data handling.
## Stack Overflow
When the official documentation is not enough, you may find communities such as [stack overflow][stackoverflow-mpl]
extremelly helpful.
This website is also indexed by most modern search engines.
Mastering the right keywords to describe the task at hand is key to finding the best answer.
Anecdotally, this website is so great that the authors of this lesson have found themselves
searching for a solution to a problem for which the best and highest voted answer is a post
of their own authorship.
## Books and Other
Matplotlib's documentation also includes a [non-exhaustive book, video and other tutorials][matplotlib-books] section in their documentation.
Other useful resources can be found in popular online learning platforms such as
[edX](https://www.edx.org/search?q=data%20visualization%20python),
[Coursera](https://www.coursera.org/search?query=data%20visualization%20python) and many others.
```
# Covered above - delete when done
......
......@@ -45,6 +45,7 @@
[flake8rules]: https://www.flake8rules.com/
[flask]: https://flask.palletsprojects.com/
[floor-division]: https://python-reference.readthedocs.io/en/latest/docs/operators/floor_division.html
[folium]: https://python-visualization.github.io/folium/
[ford-any-colour-black]: https://en.wikiquote.org/wiki/Talk:Henry_Ford#Any_color,_as_long_as_it_is_black
[fstring]: https://realpython.com/python-f-strings/#f-strings-a-new-and-improved-way-to-format-strings-in-python
[functools-module]: https://docs.python.org/3/library/functools.html
......@@ -86,6 +87,7 @@
[markdown-cheatsheet]: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
[matlab-home]: https://www.mathworks.com/products/matlab.html
[matplotlib-backends]: https://matplotlib.org/tutorials/introductory/usage.html#the-builtin-backends
[matplotlib-books]: https://matplotlib.org/resources/index.html
[matplotlib-colors]: https://matplotlib.org/3.2.2/api/colors_api.html
[matplotlib-color-names]: https://matplotlib.org/3.2.2/gallery/color/named_colors.html
[matplotlib-color-codes]: https://matplotlib.org/3.2.2/tutorials/colors/colors.html
......@@ -114,10 +116,12 @@
[pandoc]: https://pandoc.org/
[paper-now]: https://github.com/PeerJ/paper-now
[pathlib]: https://docs.python.org/3/library/pathlib.html
[pd-cook-plot]: https://pandas.pydata.org/pandas-docs/stable/user_guide/cookbook.html#cookbook-plotting
[pd-df-reference]: https://pandas.pydata.org/docs/reference/frame.html
[pd-df-sample]: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.sample.html
[pd-home]: https://pandas.pydata.org/
[pd-rolling-docs]: https://pandas.pydata.org/docs/reference/api/pandas.Series.rolling.html?highlight=rolling#pandas.Series.rolling
[pd-viz]: https://pandas.pydata.org/pandas-docs/stable/user_guide/visualization.html
[pep-257]: https://www.python.org/dev/peps/pep-0257/
[pep-8-commas]: https://www.python.org/dev/peps/pep-0008/#when-to-use-trailing-commas
[pep-8-comments]: https://www.python.org/dev/peps/pep-0008/#comments
......@@ -155,6 +159,7 @@
[skimage-home]: https://scikit-image.org/
[sphinx-docstring-format]: https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html#
[sphinx]: https://www.sphinx-doc.org
[stackoverflow-mpl]: https://stackoverflow.com/questions/tagged/matplotlib
[styles]: https://github.com/carpentries/styles/
[swc-gapminder-data]: http://swcarpentry.github.io/python-novice-gapminder/setup/#getting-the-data
[swc-git]: https://swcarpentry.github.io/git-novice/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment