Skip to content

Commit d9dfee8

Browse files
committed
[doc] Fix dead links
1 parent 87a603f commit d9dfee8

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

doc/install/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,5 +434,5 @@ process will raise various warnings.
434434

435435
* `Inkscape <https://inkscape.org>`_
436436
* `optipng <http://optipng.sourceforge.net>`_
437-
* the font `xkcd script <https://github.com/ipython/xkcd-font/>`_ or `Comic Neue <http://comicneue.com/>`_
437+
* the font `xkcd script <https://github.com/ipython/xkcd-font/>`_ or `Comic Neue <https://github.com/crozynski/comicneue>`_
438438
* the font "Times New Roman"

doc/users/resources/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Videos
5454
<https://www.youtube.com/watch?v=3Fp1zn5ao2M&feature=plcp>`_ by Eric Jones
5555

5656
* `Anatomy of Matplotlib
57-
<https://conference.scipy.org/scipy2013/tutorial_detail.php?id=103>`_
58-
by Benjamin Root
57+
<https://www.youtube.com/watch?v=6gdNUDs6QPc>`_
58+
by Benjamin Root and Hannah Aizenman
5959

6060
* `Data Visualization Basics with Python (O'Reilly)
6161
<https://www.oreilly.com/library/view/data-visualization-basics/9781771375573/>`_

galleries/examples/misc/image_thumbnail_sgskip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Matplotlib relies on Pillow_ for reading images, and thus supports all formats
88
supported by Pillow.
99
10-
.. _Pillow: https://python-pillow.org/
10+
.. _Pillow: https://python-pillow.github.io
1111
"""
1212

1313
from argparse import ArgumentParser

galleries/users_explain/axes/arranging_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def annotate_axes(ax, text, fontsize=18):
308308
# -------------------------------------
309309
#
310310
# We can index the *spec* array using `NumPy slice syntax
311-
# <https://numpy.org/doc/stable/reference/arrays.indexing.html>`_
311+
# <https://numpy.org/doc/stable/user/basics.indexing.html>`_
312312
# and the new Axes will span the slice. This would be the same
313313
# as ``fig, axd = plt.subplot_mosaic([['ax0', 'ax0'], ['ax1', 'ax2']], ...)``:
314314

galleries/users_explain/figure/backends.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ wxAgg Agg rendering to a wxWidgets_ canvas (requires wxPython_ 4).
211211
.. _`Scalable Vector Graphics`: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
212212
.. _pgf: https://ctan.org/pkg/pgf
213213
.. _Cairo: https://www.cairographics.org
214-
.. _PyGObject: https://wiki.gnome.org/action/show/Projects/PyGObject
214+
.. _PyGObject: https://pygobject.gnome.org/
215215
.. _pycairo: https://www.cairographics.org/pycairo/
216216
.. _cairocffi: https://doc.courtbouillon.org/cairocffi/stable/
217217
.. _wxPython: https://www.wxpython.org/

galleries/users_explain/figure/writing_a_backend_pyplot_interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module:// syntax
107107
Any backend in a separate module (not built into Matplotlib) can be used by
108108
specifying the path to the module in the form ``module://some.backend.module``.
109109
An example is ``module://mplcairo.qt`` for
110-
`mplcairo <https:////github.com/matplotlib/mplcairo>`_. The backend's
110+
`mplcairo <https://github.com/matplotlib/mplcairo>`_. The backend's
111111
interactive framework will be taken from its
112112
``FigureCanvas.required_interactive_framework``.
113113

lib/matplotlib/cbook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,9 @@ def flatten(seq, scalarp=is_scalar_or_string):
615615
['John', 'Hunter', 1, 23, 42, 5, 23]
616616
617617
By: Composite of Holger Krekel and Luther Blissett
618-
From: https://code.activestate.com/recipes/121294/
618+
From: https://code.activestate.com/recipes/121294-simple-generator-for-flattening-nested-containers/
619619
and Recipe 1.12 in cookbook
620-
"""
620+
""" # noqa: E501
621621
for item in seq:
622622
if scalarp(item) or item is None:
623623
yield item

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,7 @@ def thumbnail(infile, thumbfile, scale=0.1, interpolation='bilinear',
17131713
thus supports a wide range of file formats, including PNG, JPG, TIFF
17141714
and others.
17151715
1716-
.. _Pillow: https://python-pillow.org/
1716+
.. _Pillow: https://python-pillow.github.io
17171717
17181718
thumbfile : str or file-like
17191719
The thumbnail filename.

src/_tkagg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// and methods of operation are now quite different. Because our review of
88
// the codebase showed that all the code that came from PIL was removed or
99
// rewritten, we have removed the PIL licensing information. If you want PIL,
10-
// you can get it at https://python-pillow.org/
10+
// you can get it at https://python-pillow.github.io
1111

1212
#include <Python.h>
1313
#include <new>

0 commit comments

Comments
 (0)