Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d118c76

Browse files
committed
Update links
1 parent 94e2141 commit d118c76

9 files changed

Lines changed: 43 additions & 30 deletions

00_Getting_started.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"source": [
2626
"# Prerequisites\n",
2727
"\n",
28-
"https://github.com/timhoffm/euroscipy2019-using-matplotlib\n",
28+
"https://github.com/timhoffm/using-matplotlib\n",
2929
"\n",
3030
"### Environment\n",
3131
"\n",
@@ -39,7 +39,7 @@
3939
"\n",
4040
"or\n",
4141
"\n",
42-
"`conda env create -n using-mpl matplotlib>=3 jupyterlab pandas`"
42+
"`conda env create -n using-mpl matplotlib ipympl jupyterlab pandas`"
4343
]
4444
},
4545
{
@@ -66,7 +66,7 @@
6666
"source": [
6767
"# A Bit of History\n",
6868
"\n",
69-
"https://matplotlib.org/users/history.html\n",
69+
"https://matplotlib.org/stable/users/history.html\n",
7070
"\n",
7171
"John D. Hunter first released Matplotlib in 2001."
7272
]
@@ -462,7 +462,7 @@
462462
"source": [
463463
"Most of the plotting and configuration is performed using Axes methods.\n",
464464
"\n",
465-
"See https://matplotlib.org/api/axes_api.html"
465+
"See https://matplotlib.org/stable/api/axes_api.html"
466466
]
467467
},
468468
{
@@ -488,7 +488,7 @@
488488
"metadata": {
489489
"celltoolbar": "Slideshow",
490490
"kernelspec": {
491-
"display_name": "Python 3",
491+
"display_name": "Python 3 (ipykernel)",
492492
"language": "python",
493493
"name": "python3"
494494
},
@@ -502,7 +502,7 @@
502502
"name": "python",
503503
"nbconvert_exporter": "python",
504504
"pygments_lexer": "ipython3",
505-
"version": "3.7.4"
505+
"version": "3.10.4"
506506
}
507507
},
508508
"nbformat": 4,

01_Interfaces.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
],
363363
"metadata": {
364364
"kernelspec": {
365-
"display_name": "Python 3",
365+
"display_name": "Python 3 (ipykernel)",
366366
"language": "python",
367367
"name": "python3"
368368
},
@@ -376,7 +376,7 @@
376376
"name": "python",
377377
"nbconvert_exporter": "python",
378378
"pygments_lexer": "ipython3",
379-
"version": "3.7.4"
379+
"version": "3.10.4"
380380
}
381381
},
382382
"nbformat": 4,

02_Figure.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@
372372
"source": [
373373
"`plt.subplots(N, M)` suits your needs when all created axes are on a regular grid and should have the same size.\n",
374374
"\n",
375-
"For more complicated layouts use [GridSpec](`https://matplotlib.org/tutorials/intermediate/gridspec.html), or manually place an axes at desired positions using [Figure.add_axes](https://matplotlib.org/api/_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure.add_axes)."
375+
"For more complicated layouts use [GridSpec](`https://matplotlib.org/stable/tutorials/intermediate/gridspec.html), or manually place an axes at desired positions using [Figure.add_axes](https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure.add_axes)."
376376
]
377377
},
378378
{
@@ -735,7 +735,7 @@
735735
],
736736
"metadata": {
737737
"kernelspec": {
738-
"display_name": "Python 3",
738+
"display_name": "Python 3 (ipykernel)",
739739
"language": "python",
740740
"name": "python3"
741741
},
@@ -749,7 +749,7 @@
749749
"name": "python",
750750
"nbconvert_exporter": "python",
751751
"pygments_lexer": "ipython3",
752-
"version": "3.7.4"
752+
"version": "3.10.4"
753753
}
754754
},
755755
"nbformat": 4,

03_adding_content.ipynb

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"fmt = '[marker][line][color]'\n",
8585
"~~~\n",
8686
"\n",
87-
"https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.plot.html (scroll down)"
87+
"https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.plot.html (scroll down)"
8888
]
8989
},
9090
{
@@ -222,9 +222,9 @@
222222
"\n",
223223
"There are various ways to specify colors:\n",
224224
"\n",
225-
"https://matplotlib.org/api/colors_api.html?highlight=colors#module-matplotlib.colors\n",
225+
"https://matplotlib.org/stable/tutorials/colors/colors.html\n",
226226
"\n",
227-
"https://matplotlib.org/devdocs/gallery/color/named_colors.html#sphx-glr-gallery-color-named-colors-py"
227+
"https://matplotlib.org/stable/gallery/color/named_colors.html"
228228
]
229229
},
230230
{
@@ -319,7 +319,7 @@
319319
"\n",
320320
"Often you don't need it. But it's good to know, and sometimes handy.\n",
321321
"\n",
322-
"The returned objects are Artists that define elements in the plot such as lines, etc. See the [Returns section in the docs](https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.plot.html) for details."
322+
"The returned objects are Artists that define elements in the plot such as lines, etc. See the [Returns section in the docs](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.plot.html) for details."
323323
]
324324
},
325325
{
@@ -658,13 +658,23 @@
658658
"source": [
659659
"## Other plotting functions\n",
660660
"\n",
661-
"See https://matplotlib.org/api/axes_api.html"
661+
"See\n",
662+
"\n",
663+
"- https://matplotlib.org/stable/plot_types/index.html\n",
664+
"- https://matplotlib.org/stable/api/axes_api.html"
662665
]
666+
},
667+
{
668+
"cell_type": "code",
669+
"execution_count": null,
670+
"metadata": {},
671+
"outputs": [],
672+
"source": []
663673
}
664674
],
665675
"metadata": {
666676
"kernelspec": {
667-
"display_name": "Python 3",
677+
"display_name": "Python 3 (ipykernel)",
668678
"language": "python",
669679
"name": "python3"
670680
},
@@ -678,7 +688,7 @@
678688
"name": "python",
679689
"nbconvert_exporter": "python",
680690
"pygments_lexer": "ipython3",
681-
"version": "3.7.4"
691+
"version": "3.10.4"
682692
}
683693
},
684694
"nbformat": 4,

04_Configuration and Styles.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,9 @@
604604
"\n",
605605
"Style sheets are predefined sets of rcParams.\n",
606606
"\n",
607-
"https://matplotlib.org/devdocs/tutorials/introductory/customizing.html\n",
607+
"https://matplotlib.org/stable/tutorials/introductory/customizing.html\n",
608608
"\n",
609-
"https://matplotlib.org/devdocs/gallery/style_sheets/style_sheets_reference.html"
609+
"https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html"
610610
]
611611
},
612612
{
@@ -746,7 +746,7 @@
746746
],
747747
"metadata": {
748748
"kernelspec": {
749-
"display_name": "Python 3",
749+
"display_name": "Python 3 (ipykernel)",
750750
"language": "python",
751751
"name": "python3"
752752
},
@@ -760,7 +760,7 @@
760760
"name": "python",
761761
"nbconvert_exporter": "python",
762762
"pygments_lexer": "ipython3",
763-
"version": "3.7.4"
763+
"version": "3.10.4"
764764
}
765765
},
766766
"nbformat": 4,

05_Libraries_using_Matplotlib.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"source": [
3131
"## Write your own wrapper function\n",
3232
"\n",
33-
"Example: https://matplotlib.org/gallery/lines_bars_and_markers/horizontal_barchart_distribution.html"
33+
"Example: https://matplotlib.org/stable/gallery/lines_bars_and_markers/horizontal_barchart_distribution.html"
3434
]
3535
},
3636
{
@@ -461,7 +461,7 @@
461461
],
462462
"metadata": {
463463
"kernelspec": {
464-
"display_name": "Python 3",
464+
"display_name": "Python 3 (ipykernel)",
465465
"language": "python",
466466
"name": "python3"
467467
},
@@ -475,7 +475,7 @@
475475
"name": "python",
476476
"nbconvert_exporter": "python",
477477
"pygments_lexer": "ipython3",
478-
"version": "3.7.4"
478+
"version": "3.10.4"
479479
}
480480
},
481481
"nbformat": 4,

06_Animations.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12667,7 +12667,7 @@
1266712667
],
1266812668
"metadata": {
1266912669
"kernelspec": {
12670-
"display_name": "Python 3",
12670+
"display_name": "Python 3 (ipykernel)",
1267112671
"language": "python",
1267212672
"name": "python3"
1267312673
},
@@ -12681,7 +12681,7 @@
1268112681
"name": "python",
1268212682
"nbconvert_exporter": "python",
1268312683
"pygments_lexer": "ipython3",
12684-
"version": "3.7.4"
12684+
"version": "3.10.4"
1268512685
}
1268612686
},
1268712687
"nbformat": 4,

environment.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: using-matplotlib
22
dependencies:
3-
- python>=3.6
4-
- matplotlib>=3
3+
- python
4+
- matplotlib
5+
- ipympl
56
- pandas
7+
- jupyterlab
68

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
matplotlib>3
1+
matplotlib
2+
ipympl
23
pandas
34
jupyterlab

0 commit comments

Comments
 (0)