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

Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Switch twitter link to bluesky
  • Loading branch information
dstansby committed Aug 24, 2025
commit e66de40a1dd10faf3025e8b31d9ccf854481e99c
4 changes: 2 additions & 2 deletions cheatsheets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@
{\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\
\href{https://gitter.im/matplotlib/matplotlib}
{\faIcon{gitter}\,{https://gitter.im/matplotlib/matplotlib}}\\
\href{https://twitter.com/matplotlib}
{\faIcon{twitter}\,twitter.com/matplotlib}\\
\href{https://bsky.app/profile/matplotlib.org}
{\faIcon{bluesky}\,bsky.app/profile/matplotlib.org}\\
\href{https://mail.python.org/mailman/listinfo/matplotlib-users}
{\faIcon[regular]{envelope}\,Matplotlib users mailing list}
\end{myboxed}
Expand Down
7 changes: 0 additions & 7 deletions check-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,3 @@
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 does not respond well to the link checker and throws a 400
if all(['twitter.com' in url for url, _ in broken_links]):
sys.exit(0)
else:
print('Broken links:', broken_links)
sys.exit(1)
Loading