Skip to content

Commit

Permalink
Why Matplotlib? Section (#235)
Browse files Browse the repository at this point in the history
* add why matplotlib

* mv why matplotlib to matplotlib.md

* rm why matplotlib

* Update core/matplotlib.md

Co-authored-by: Brian Rose <brose@albany.edu>

* Update core/matplotlib.md

Co-authored-by: Brian Rose <brose@albany.edu>

* Update core/matplotlib.md

Co-authored-by: Brian Rose <brose@albany.edu>

* Update core/matplotlib.md

Co-authored-by: Brian Rose <brose@albany.edu>

* add matplotlib logo

* Update core/matplotlib.md

Co-authored-by: Brian Rose <brose@albany.edu>

Co-authored-by: Brian Rose <brose@albany.edu>
  • Loading branch information
jukent and brian-rose authored Mar 1, 2022
1 parent 9e42097 commit 3a04597
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
22 changes: 14 additions & 8 deletions core/matplotlib.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
![Matplotlib logo](https://matplotlib.org/stable/_images/sphx_glr_logos2_003.png)

# Matplotlib

```{note}
This content is under construction!
```
[Matplotlib](https://matplotlib.org) is the go-to library for plotting within python, with numerous packages and libraries using Matplotlib as a base to build off of. If you were to learn a single plotting tool to keep in your toolbox, this is the package.

This section will contain tutorials on basic plotting with [matplotlib](https://matplotlib.org).
## Why Matplotlib?

From the [Matplotlib documentation](https://matplotlib.org) "Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python."
Matplotlib is a plotting library for Python and is often the first plotting package Python-learners encounter. You may be wondering, "Why learn Matplotlib? Why not [Seaborn](https://seaborn.pydata.org) or another plotting library first?"

The simple answer is because of Matplotlib's popularity. Matplotlib is one of the most popular Python packages. Because of its history as Python's "go-to" plotting package, most other open source plotting libraries (including Seaborn) are built on top of Matplotlib and thus these more specialized plotting packages still inherit some of Matplotlib's capabilities, syntax, and limitations. You will find it useful to be familiar with Matplotlib when learning other plotting libraries.

Matplotlib is the go-to library for plotting within python, with numerous packages and libraries using matplotlib as a base to build off of. If you were to learn a single plotting tool to keep in your toolbox, this is the package.
Matplotlib supports a variety of output formats, chart types, and interactive options, and runs well on most operating systems and graphic backends. The key feature to Matplotlib is its extensibility and the [extensive documentation](https://matplotlib.org) available to the community. These reasons are part of "Why Matplotlib" is so popular, and the first plotting language we will introduce you to in this book.

The key feature to matplotlib is its extensibility and the [extensive documentation](https://matplotlib.org/stable/) available to the community.
## In this section

This section contains tutorials on basic plotting with [Matplotlib](https://matplotlib.org).

From the [Matplotlib documentation](https://matplotlib.org) "Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python."

Currently, we provide a basic introduction to matplotlib, but at a later date, we will add:
Currently, we provide a basic introduction to matplotlib, as well as:

- Legend and annotation customization
- Customizing layouts
Expand Down
15 changes: 1 addition & 14 deletions core/matplotlib/matplotlib.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,7 @@
"source": [
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Why Matplotlib?\n",
"\n",
"Matplotlib is a plotting library for Python and is often the first plotting package Python-learners encounter. You may be wondering, \"Why learn Matplotlib? Why not Seaborn or another plotting library first?\"\n",
"\n",
"The simple answer is because of Matplotlib's popularity. Matplotlib is one of the most popular Python packages. Because of its history as Python's \"go-to\" plotting package, most other open source plotting libraries (including Seaborn) are built on top of Matplotlib and thus these improved or specialized plotting packages still inherit some of Matplotlib's capabilities, syntax, and limitations. You will find it useful to be familiar with Matplotlib when learning other plotting libraries.\n",
"\n",
"Matplotlib supports a variety of output formats, chart types, and interactive options, and runs well on most operating systems and graphic backends. These features are part of \"Why Matplotlib\" is so popular, and the first plotting language we will introduce you to in this book."
]
},
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 3a04597

Please sign in to comment.