Skip to content

Commit e7bdeec

Browse files
authored
Fix errors found in the matplotlib notebook (#192)
* Fixed TOC. * Fixed typos.
1 parent c89031d commit e7bdeec

1 file changed

Lines changed: 30 additions & 26 deletions

File tree

library_matplotlib.ipynb

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,33 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"## Table of Contents\n",
15-
" - [References](#References)\n",
16-
" - [Introduction](#Introduction)\n",
17-
" - [Key Features](#Key-Features)\n",
18-
" - [Customization & Extensibility](#Customization-&-Extensibility)\n",
19-
" - [Integration with other libraries](#Integration-with-other-libraries)\n",
20-
" - [Integration with Jupyter Notebooks](#Integration-with-Jupyter-Notebooks)\n",
21-
" - [Display Basics](#Display-Basics)\n",
22-
" - [Figure](#Figure)\n",
23-
" - [Artist](#Artist)\n",
24-
" - [Axes](#Axes)\n",
25-
" - [Axis](#Axis)\n",
26-
" - [The Basics of `Figure`](#The-Basics-of-Figure)\n",
27-
" - [Helper functions](#Helper-functions)\n",
28-
" - [Displaying Multiple Outputs](#Displaying-Multiple-Outputs)\n",
29-
" - [Saving Figures in a File](#Saving-Figures-in-a-File)\n",
30-
" - [The Basics of `Axes`](#The-Basics-of-Axes)\n",
31-
" - [Labels and Text](#Labels-and-Text)\n",
32-
" - [`Axis` Scales and Ticks](#Axis-Scales-and-Ticks)\n",
33-
" - [Styling and Customizations](#Styling-and-Customizations)\n",
34-
" - [Colors](#Colors)\n",
35-
" - [Annotations and Legends](#Annotations-and-Legends)\n",
36-
" - [Plot Types](#Plot-Types)"
14+
"# Table of Contents\n",
15+
" - [Visualization with Matplotlib](#Visualization-with-Matplotlib)\n",
16+
" - [References](#References)\n",
17+
" - [Introduction](#Introduction)\n",
18+
" - [Key Features](#Key-Features)\n",
19+
" - [Customization & Extensibility](#Customization-&-Extensibility)\n",
20+
" - [Integration with other libraries](#Integration-with-other-libraries)\n",
21+
" - [Integration with Jupyter Notebooks](#Integration-with-Jupyter-Notebooks)\n",
22+
" - [Display Basics: Figures and axes](#Display-Basics:-Figures-and-axes)\n",
23+
" - [Artist](#Artist)\n",
24+
" - [Axes](#Axes)\n",
25+
" - [Axis](#Axis)\n",
26+
" - [The Basics of `Figure`](#The-Basics-of-Figure)\n",
27+
" - [Helper functions](#Helper-functions)\n",
28+
" - [Displaying Multiple Outputs](#Displaying-Multiple-Outputs)\n",
29+
" - [Saving Figures in a File](#Saving-Figures-in-a-File)\n",
30+
" - [The Basics of `Axes`](#The-Basics-of-Axes)\n",
31+
" - [Labels and Text](#Labels-and-Text)\n",
32+
" - [`Axis` Scales and Ticks](#Axis-Scales-and-Ticks)\n",
33+
" - [Styling and Customizations](#Styling-and-Customizations)\n",
34+
" - [Colors](#Colors)\n",
35+
" - [Annotations and Legends](#Annotations-and-Legends)\n",
36+
" - [Plot Types](#Plot-Types)\n",
37+
" - [Directly adding drawing primitives: Artists](#Directly-adding-drawing-primitives:-Artists)\n",
38+
" - [Example: Rectangles](#Example:-Rectangles)\n",
39+
" - [Example: Circles](#Example:-Circles)\n",
40+
" - [Example: Composing patches](#Example:-Composing-patches)"
3741
]
3842
},
3943
{
@@ -636,7 +640,7 @@
636640
"\n",
637641
"You can create a bar plot by using the `bar` method on an `Axes`. \n",
638642
"The `x` argument gives the location of the bar, `height` the height of the bar.\n",
639-
"This can be a numeric vector or a list of string for categorical data:"
643+
"This can be a numeric vector or a list of strings for categorical data:"
640644
]
641645
},
642646
{
@@ -996,7 +1000,7 @@
9961000
"source": [
9971001
"**Vector fields:** `quiver(x, y, u, v)`\n",
9981002
"If you have a vector field, you can display it using the `quiver` function.\n",
999-
"For documentation, check [here](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.quiver.html#matplotlib.axes.Axes.quiver)"
1003+
"For documentation, check [here](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.quiver.html#matplotlib.axes.Axes.quiver)."
10001004
]
10011005
},
10021006
{
@@ -1202,7 +1206,7 @@
12021206
"name": "python",
12031207
"nbconvert_exporter": "python",
12041208
"pygments_lexer": "ipython3",
1205-
"version": "3.9.12"
1209+
"version": "3.10.13"
12061210
}
12071211
},
12081212
"nbformat": 4,

0 commit comments

Comments
 (0)