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

Skip to content

DOC: replace dolphin license RDF block with prose attribution#31540

Merged
jklymak merged 1 commit intomatplotlib:mainfrom
Pedrom2002:doc-fix-cc-namespace-urls
Apr 20, 2026
Merged

DOC: replace dolphin license RDF block with prose attribution#31540
jklymak merged 1 commit intomatplotlib:mainfrom
Pedrom2002:doc-fix-cc-namespace-urls

Conversation

@Pedrom2002
Copy link
Copy Markdown
Contributor

@Pedrom2002 Pedrom2002 commented Apr 20, 2026

PR summary

Addresses one of the broken links collected in #30306 and the review
feedback from @jklymak on the original revision of this PR.

Instead of migrating the dead `web.resource.org/cc/*` URIs in
`galleries/examples/shapes_and_collections/dolphin.py` to the current
`creativecommons.org/ns#` namespace (which would have locked us into
chasing future namespace changes), the RDF block is replaced with a
single plain-text attribution line. The block was never rendered it
only carried provenance metadata in a comment so prose serves the
same purpose without the maintenance burden.

Diff

```diff
-# Dolphin from OpenClipart library by Andy Fitzsimon
-# <cc:License rdf:about="http://web.resource.org/cc/PublicDomain">
-# <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
-# <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
-# <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
-# </cc:License>
+# Dolphin from OpenClipart library by Andy Fitzsimon (Public Domain).
```

PR checklist

  • Author credit preserved.
  • License status preserved (Public Domain).
  • No code change; only a comment block is updated.

@github-actions github-actions Bot added the Documentation: examples files in galleries/examples label Apr 20, 2026
Copy link
Copy Markdown
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we either change this example to not use something under license, or just cite the appropriate license rather than keep license links up to date?

@Pedrom2002
Copy link
Copy Markdown
Contributor Author

Can we either change this example to not use something under license, or just cite the appropriate license rather than keep license links up to date?

Good point. I'll push an update that replaces the RDF block with a one-line prose attribution (author + "Public Domain"), so there's nothing to track long-term. Thanks for the steer!

The inline cc:License RDF in the dolphin example was never rendered
and only acted as attribution metadata, so the upstream URI namespace
(web.resource.org -> creativecommons.org/ns# -> whatever comes next)
is ongoing maintenance for no reader benefit. Replace the block with
a single plain-text credit line naming the author and the Public
Domain status. Addresses review feedback on matplotlib#31540.

Refs matplotlib#30306.
@Pedrom2002 Pedrom2002 force-pushed the doc-fix-cc-namespace-urls branch from e50e674 to 3954e0e Compare April 20, 2026 19:56
@Pedrom2002 Pedrom2002 changed the title DOC: migrate dead web.resource.org/cc URIs in dolphin.py DOC: replace dolphin license RDF block with prose attribution Apr 20, 2026
@jklymak jklymak merged commit 389efd5 into matplotlib:main Apr 20, 2026
21 checks passed
@jklymak
Copy link
Copy Markdown
Member

jklymak commented Apr 20, 2026

Thanks for the help!

@QuLogic QuLogic added this to the v3.11.0 milestone Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: examples files in galleries/examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants