Skip to content

Commit

Permalink
Fix errors found in the matplotlib notebook (#192)
Browse files Browse the repository at this point in the history
* Fixed TOC.
* Fixed typos.
  • Loading branch information
baffelli committed Dec 15, 2023
1 parent c89031d commit e7bdeec
Showing 1 changed file with 30 additions and 26 deletions.
56 changes: 30 additions & 26 deletions library_matplotlib.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,33 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Table of Contents\n",
" - [References](#References)\n",
" - [Introduction](#Introduction)\n",
" - [Key Features](#Key-Features)\n",
" - [Customization & Extensibility](#Customization-&-Extensibility)\n",
" - [Integration with other libraries](#Integration-with-other-libraries)\n",
" - [Integration with Jupyter Notebooks](#Integration-with-Jupyter-Notebooks)\n",
" - [Display Basics](#Display-Basics)\n",
" - [Figure](#Figure)\n",
" - [Artist](#Artist)\n",
" - [Axes](#Axes)\n",
" - [Axis](#Axis)\n",
" - [The Basics of `Figure`](#The-Basics-of-Figure)\n",
" - [Helper functions](#Helper-functions)\n",
" - [Displaying Multiple Outputs](#Displaying-Multiple-Outputs)\n",
" - [Saving Figures in a File](#Saving-Figures-in-a-File)\n",
" - [The Basics of `Axes`](#The-Basics-of-Axes)\n",
" - [Labels and Text](#Labels-and-Text)\n",
" - [`Axis` Scales and Ticks](#Axis-Scales-and-Ticks)\n",
" - [Styling and Customizations](#Styling-and-Customizations)\n",
" - [Colors](#Colors)\n",
" - [Annotations and Legends](#Annotations-and-Legends)\n",
" - [Plot Types](#Plot-Types)"
"# Table of Contents\n",
" - [Visualization with Matplotlib](#Visualization-with-Matplotlib)\n",
" - [References](#References)\n",
" - [Introduction](#Introduction)\n",
" - [Key Features](#Key-Features)\n",
" - [Customization & Extensibility](#Customization-&-Extensibility)\n",
" - [Integration with other libraries](#Integration-with-other-libraries)\n",
" - [Integration with Jupyter Notebooks](#Integration-with-Jupyter-Notebooks)\n",
" - [Display Basics: Figures and axes](#Display-Basics:-Figures-and-axes)\n",
" - [Artist](#Artist)\n",
" - [Axes](#Axes)\n",
" - [Axis](#Axis)\n",
" - [The Basics of `Figure`](#The-Basics-of-Figure)\n",
" - [Helper functions](#Helper-functions)\n",
" - [Displaying Multiple Outputs](#Displaying-Multiple-Outputs)\n",
" - [Saving Figures in a File](#Saving-Figures-in-a-File)\n",
" - [The Basics of `Axes`](#The-Basics-of-Axes)\n",
" - [Labels and Text](#Labels-and-Text)\n",
" - [`Axis` Scales and Ticks](#Axis-Scales-and-Ticks)\n",
" - [Styling and Customizations](#Styling-and-Customizations)\n",
" - [Colors](#Colors)\n",
" - [Annotations and Legends](#Annotations-and-Legends)\n",
" - [Plot Types](#Plot-Types)\n",
" - [Directly adding drawing primitives: Artists](#Directly-adding-drawing-primitives:-Artists)\n",
" - [Example: Rectangles](#Example:-Rectangles)\n",
" - [Example: Circles](#Example:-Circles)\n",
" - [Example: Composing patches](#Example:-Composing-patches)"
]
},
{
Expand Down Expand Up @@ -636,7 +640,7 @@
"\n",
"You can create a bar plot by using the `bar` method on an `Axes`. \n",
"The `x` argument gives the location of the bar, `height` the height of the bar.\n",
"This can be a numeric vector or a list of string for categorical data:"
"This can be a numeric vector or a list of strings for categorical data:"
]
},
{
Expand Down Expand Up @@ -996,7 +1000,7 @@
"source": [
"**Vector fields:** `quiver(x, y, u, v)`\n",
"If you have a vector field, you can display it using the `quiver` function.\n",
"For documentation, check [here](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.quiver.html#matplotlib.axes.Axes.quiver)"
"For documentation, check [here](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.quiver.html#matplotlib.axes.Axes.quiver)."
]
},
{
Expand Down Expand Up @@ -1202,7 +1206,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit e7bdeec

Please sign in to comment.