From d303cf4d894b844019d1f2dd6de3af27cb242ae2 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 14 Apr 2026 14:33:40 +0100 Subject: [PATCH 1/4] Update getting help section --- cheatsheets.tex | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cheatsheets.tex b/cheatsheets.tex index cdf7253..96f9a6b 100644 --- a/cheatsheets.tex +++ b/cheatsheets.tex @@ -321,16 +321,12 @@ \begin{myboxed}{Getting help} \href{https://matplotlib.org} {\faIcon{globe}\,matplotlib.org}\\ - \href{https://github.com/matplotlib/matplotlib/issues} - {\faIcon{github}\,github.com/matplotlib/matplotlib/issues}\\ \href{https://discourse.matplotlib.org} {\faIcon{discourse}\,discourse.matplotlib.org}\\ \href{https://stackoverflow.com/questions/tagged/matplotlib} {\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\ - \href{https://twitter.com/matplotlib} - {\faIcon{twitter}\,twitter.com/matplotlib}\\ - \href{https://mail.python.org/mailman/listinfo/matplotlib-users} - {\faIcon[regular]{envelope}\,Matplotlib users mailing list} + \href{https://gitter.im/matplotlib/matplotlib} + {\faIcon{gitter}\,gitter.im/matplotlib/matplotlib} \end{myboxed} From d3e6276ca733c83657ab4a86238cd727e445db22 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 14 Apr 2026 14:34:32 +0100 Subject: [PATCH 2/4] Don't filter Twitter links when checking for broken links --- check-links.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-links.py b/check-links.py index f5c3f74..f761161 100755 --- a/check-links.py +++ b/check-links.py @@ -11,8 +11,8 @@ status_codes = [pdfx.downloader.get_status_code(ref.ref) for ref in refs] broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200] -# It seems that Twitter and stackoverflow do not respond well to the link checker and throws a 400 -broken_links = [b for b in broken_links if not ('twitter.com' in b[0] or 'stackoverflow.com' in b[0])] +# It seems that stackoverflow does not respond well to the link checker and throws a 400 +broken_links = [b for b in broken_links if not 'stackoverflow.com' in b[0]] if len(broken_links) == 0: sys.exit(0) From 43ab421bd472d2ce22c97772eae19e5e43f80ec9 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 14 Apr 2026 14:36:31 +0100 Subject: [PATCH 3/4] Fix link checking --- check-links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-links.py b/check-links.py index f761161..3b70b3f 100755 --- a/check-links.py +++ b/check-links.py @@ -12,7 +12,7 @@ broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200] # It seems that stackoverflow does not respond well to the link checker and throws a 400 -broken_links = [b for b in broken_links if not 'stackoverflow.com' in b[0]] +broken_links = [b for b in broken_links if not ('stackoverflow.com' in b[0])] if len(broken_links) == 0: sys.exit(0) From 6cc4ca5b6098124467ff158c5a8fede4c1dd396c Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 14 Apr 2026 15:11:53 +0100 Subject: [PATCH 4/4] Use matrix instead of gitter link --- cheatsheets.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheatsheets.tex b/cheatsheets.tex index 96f9a6b..c8888d7 100644 --- a/cheatsheets.tex +++ b/cheatsheets.tex @@ -325,7 +325,7 @@ {\faIcon{discourse}\,discourse.matplotlib.org}\\ \href{https://stackoverflow.com/questions/tagged/matplotlib} {\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\ - \href{https://gitter.im/matplotlib/matplotlib} + \href{https://matrix.to/#/#matplotlib_matplotlib:gitter.im} {\faIcon{gitter}\,gitter.im/matplotlib/matplotlib} \end{myboxed}